File locking on sshfs file system, possible?

Kevin J. McCarthy kevin at 8t8.us
Fri Oct 25 10:24:37 UTC 2019


On Fri, Oct 25, 2019 at 10:42:28AM +0100, Chris Green wrote:
>mutt_dotlock is failing when I try and lock the file across the 
>sshfs file system:-

The last time I looked, sshfs's hard link support was insufficient for 
dotlocking.  I believe the hard link count is not increased, (in 
addition to creating a new inode number for the link).  Even if it were 
implemented, I personally wouldn't risk my mbox files over sshfs.

Mutt 1.11.0 added a hard link fix for Maildir over sshfs.  If you do try 
Maildir you'll want to either upgrade or disable hardlink support in the 
sshfs mount.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20191025/8c063ea8/attachment.asc>


More information about the Mutt-users mailing list