File locking on sshfs file system, possible?
雨宫恋叶
shadowrz at disroot.org
Fri Oct 25 10:12:27 UTC 2019
October 25, 2019 5:42 PM, "Chris Green" <cl at isbd.net> wrote:
> Even more information!
>
> mutt_dotlock is failing when I try and lock the file across the
> sshfs file system:-
>
> chris at t470$ mutt_dotlock /home/chris/Mail/folder/test/fred
> chris at t470$ echo $?
> 1
> chris at t470$
>
> (The folder Mail is an sshfs mount)
>
> There is no permission problem for me to create files:-
>
> chris at t470$ ls -al /home/chris/Mail/folder/test
> total 8
> drwxrwxr-x 1 chris chris 4096 Oct 25 10:38 .
> drwxrwxr-x 1 chris chris 4096 Oct 25 10:35 ..
> -rw-rw-r-- 1 chris chris 0 Oct 25 10:25 fred
> chris at t470$ touch /home/chris/Mail/folder/test/fred.lock
> chris at t470$ ls -al /home/chris/Mail/folder/test
> total 8
> drwxrwxr-x 1 chris chris 4096 Oct 25 10:40 .
> drwxrwxr-x 1 chris chris 4096 Oct 25 10:35 ..
> -rw-rw-r-- 1 chris chris 0 Oct 25 10:25 fred
> -rw-rw-r-- 1 chris chris 0 Oct 25 10:40 fred.lock
> `
> So how do I diagnose what the actual error is? Is mutt_dotlock trying
> to run as 'mail' rather than 'chris'?
I wonder if strace(1) could help you
('Cause it was suggested for finding Why Evince couldn't read files like ~/.mutt/file.pdf in this mailing list.)
--
旋转少女
More information about the Mutt-users
mailing list