|
From: Miklos S. <mi...@sz...> - 2007-05-08 07:20:35
|
> I have switched from mounting some remote home directories with NFS to > SSHFS. The problem that's occur right now is that Mutt can't delete or > move e-mail message's. I get the error "Mailbox is Read-only" > > I mount the directory with > $ sshfs sircrow@minidragon:/home/sircrow/mail/ /home/sircrow/mail/ -o > workaround=rename > > I think the problem is mutt_dotlock but wondering if I add another > mount options to resolve this. > > $ ls -la /usr/bin/mutt_dotlock > -rwxr-sr-x 1 root mail 7268 2006-10-30 22:04 /usr/bin/mutt_dotlock > > $ ls -la /home/sircrow/mail/inbox > -rw-rw---- 1 sircrow sircrow 11235 2007-05-05 18:11 inbox > > I have tried several things to solve this, add the mail group to fuse, > set the Sticky Bit, chown sircrow:mail /home/sircrow/mail/inbox, chmod > o+rw /home/sircrow/mail/inbox, set group ID on execution from > mutt_dotlock to sircrow, etceterra but nothing did help > > So is the mount option the problem maybe? SFTP doesn't support hard linking, which is sometimes used for locking. You can check this by running sshfs with the debug option: sshfs -d ... If you see a LINK operation, which fails, then this is the problem. I'm not sure there's a workaround for this. Maybe you can configure the method of locking in mutt? Thanks, Miklos |