#986163 mutt: opens mailboxes over sshfs readonly

Package:
mutt
Source:
mutt
Description:
text-based mailreader supporting MIME, GPG, PGP and threading
Submitter:
BartM
Date:
2021-03-30 16:36:04 UTC
Severity:
normal
#986163#5
Date:
2021-03-30 16:33:31 UTC
From:
To:
Problem:

	Mutt opens mailboxes over sshfs readonly.

How to reproduce:

	I mount my homedir of a remote machine onto the filesystem of my pc.
	sshfs -o idmap=user remotehost: /mnt/bartm/remotehost
	Then I use mutt on my pc to access the mailboxes on the remote machine.

Expected behavior:

	Mutt should open mailboxes over sshfs readwrite. Just like vi opens
	them readwrite.

Workaround:

	Disabling mutt_dotlock by undefining USE_DOTLOCK makes the problem
	disappear. At first sight lstat seems confused on sshfs' different
	uids and guids on local and remote machines.

mutt 2.0.5-3
sshfs 3.7.1+repack-1