saving attachement fails on sshfs filesystem
Hello,
Using debian unstable's 1.5.13-1.1 I can no longer save attachements on
a sshfs (fuse) partition without any cue from mutt: pressing <enter> at
the save-file prompt makes mutt wait a few seconds after which the same
prompt and default filename returns with no error message. Instead of
saving the file mutt creates a .muttxxx directory for each attempt:
drwx------ 1 ldm ldm 6 2007-01-02 15:31 .mutt7mnbhX/
drwx------ 1 ldm ldm 6 2007-01-02 15:25 .muttKXRT83/
Might this be related to this recent change (debian bug #396104)?
CVE-2006-5297:
Race condition in the safe_open function in the Mutt mail client
1.5.12 and earlier, when creating temporary files in an NFS
filesystem, allows local users to overwrite arbitrary files due to
limitations of the use of the O_EXCL flag on NFS filesystems.
CVE-2006-5298:
The mutt_adv_mktemp function in the Mutt mail client 1.5.12 and
earlier does not properly verify that temporary files have been
created with restricted permissions, which might allow local users to
create files with weak permissions via a race condition between the
mktemp and safe_fopen function calls.
See
http://marc.theaimsgroup.com/?l=mutt-dev&m=115999486426292&w=2
for details.