Bug#930785: mutt: "file exists" error when saving attachment to CIFS share

2020-06-21 Thread Antonio Radici
Control: tag -1 +moreinfo On Thu, Jun 20, 2019 at 04:24:29PM +0200, Lionel Elie Mamane wrote: > Package: mutt > Version: 1.7.2-1+deb9u1 > Severity: important > > When saving an attachment from into a directory on a CIFS share > (Windows 2012R2 server), mutt creates an empty file and then fails >

Bug#930785: mutt: "file exists" error when saving attachment to CIFS share

2019-06-20 Thread Lionel Élie Mamane
By contrast, here's the strace when saving to an ext4 filesystem: 25780 access("/home/user/filename.pdf", F_OK) = -1 ENOENT (No such file or directory) 25780 write(1, "\rSaving...\33[37m\33[40m\33[K\33(B\33[m\33[3"..., 47) = 47 25780 getpid() = 25780 25780 mkdir("/home/us

Bug#930785: mutt: "file exists" error when saving attachment to CIFS share

2019-06-20 Thread Lionel Elie Mamane
Package: mutt Version: 1.7.2-1+deb9u1 Severity: important When saving an attachment from into a directory on a CIFS share (Windows 2012R2 server), mutt creates an empty file and then fails with the error message "file exists (errno=17)". Saving is successful if one tries again to same filename and