Bug#670926: fopen: File exists (errno = 17) error when saving mutt attachment to sshfs
On Fri, Dec 13, 2013 at 6:10 PM, Bartosz Feński bart...@fenski.pl wrote: Do you plan to release new version of sshfs that will include this patch or should I patch 2.4 version available in Debian? Pushed fix to git. I'll release a new version next week. Thanks, Miklos -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#670926: fopen: File exists (errno = 17) error when saving mutt attachment to sshfs
Package: sshfs Version: 2.4-1 Followup-For: Bug #670926 Hi, do you plan in integrating your disable_hardlink patch in the package soon? -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (499, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.12.5-1-pyrrhus (SMP w/8 CPU cores) Locale: LANG=en_CA, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/dash Versions of packages sshfs depends on: ii fuse2.9.2-4 ii libc6 2.17-97 ii libfuse22.9.2-4 ii libglib2.0-02.36.4-1 ii openssh-client 1:6.4p1-1 sshfs recommends no packages. sshfs suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#670926: fopen: File exists (errno = 17) error when saving mutt attachment to sshfs
Hi Miklos, Do you plan to release new version of sshfs that will include this patch or should I patch 2.4 version available in Debian? regards Bartek W dniu 13.12.2013 11:41, Louis-David Mitterrand pisze: Package: sshfs Version: 2.4-1 Followup-For: Bug #670926 Hi, do you plan in integrating your disable_hardlink patch in the package soon? -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (499, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.12.5-1-pyrrhus (SMP w/8 CPU cores) Locale: LANG=en_CA, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/dash Versions of packages sshfs depends on: ii fuse2.9.2-4 ii libc6 2.17-97 ii libfuse22.9.2-4 ii libglib2.0-02.36.4-1 ii openssh-client 1:6.4p1-1 sshfs recommends no packages. sshfs suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#670926: fopen: File exists (errno = 17) error when saving mutt attachment to sshfs
I had the same problem and your patch (sshfs-disable-hardlink.patch) fixed it for me. Thanks, Michel -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#670926: fopen: File exists (errno = 17) error when saving mutt attachment to sshfs
Louis-David Mitterrand l...@apartia.fr writes: On Wed, May 16, 2012 at 10:36:43PM +0200, Miklos Szeredi wrote: Hi, Please find the strace attached. Thanks. Still I have no clues, the EEXIST error is not seen in any of the system calls and I can't see fopen returning EEXIST for any reason. Can you try ltrace as well? Though I don't have high hopes of that revealing anything... Hi, Please find the ltrace outuput attached. Can you please try the disable_hardlink option added by the attached patch? Thanks, Miklos diff --git a/sshfs.1 b/sshfs.1 index d316930..c045b3c 100644 --- a/sshfs.1 +++ b/sshfs.1 @@ -141,6 +141,11 @@ directly connect to PORT bypassing ssh \fB\-o\fR slave communicate over stdin and stdout bypassing network .TP +\fB\-o\fR disable_hardlink +link(2) will return with errno set to ENOSYS. Hard links don't currently work +perfectly on sshfs, and this confuses some programs. If that happens try +disabling hard links with this option. +.TP \fB\-o\fR transform_symlinks transform absolute symlinks to relative .TP diff --git a/sshfs.c b/sshfs.c index 4945302..2e3d84a 100644 --- a/sshfs.c +++ b/sshfs.c @@ -203,6 +203,7 @@ struct sshfs { int detect_uid; int idmap; int nomap; + int disable_hardlink; char *uid_file; char *gid_file; GHashTable *uid_map; @@ -358,6 +359,7 @@ static struct fuse_opt sshfs_opts[] = { SSHFS_OPT(password_stdin,password_stdin, 1), SSHFS_OPT(delay_connect, delay_connect, 1), SSHFS_OPT(slave, slave, 1), + SSHFS_OPT(disable_hardlink, disable_hardlink, 1), FUSE_OPT_KEY(-p ,KEY_PORT), FUSE_OPT_KEY(-C, KEY_COMPRESS), @@ -2192,7 +2194,7 @@ static int sshfs_link(const char *from, const char *to) { int err = -ENOSYS; - if (sshfs.ext_hardlink) { + if (sshfs.ext_hardlink !sshfs.disable_hardlink) { struct buffer buf; buf_init(buf, 0); @@ -3190,6 +3192,7 @@ static void usage(const char *progname) -o sftp_server=SERVpath to sftp server or subsystem (default: sftp)\n -o directport=PORT directly connect to PORT bypassing ssh\n -o slave communicate over stdin and stdout bypassing network\n +-o disable_hardlinklink(2) will return with errno set to ENOSYS\n -o transform_symlinks transform absolute symlinks to relative\n -o follow_symlinks follow symlinks on the server\n -o no_check_root don't check for existence of 'dir' on server\n
Bug#670926: fopen: File exists (errno = 17) error when saving mutt attachment to sshfs
On Wed, May 16, 2012 at 10:36:43PM +0200, Miklos Szeredi wrote: Hi, Please find the strace attached. Thanks. Still I have no clues, the EEXIST error is not seen in any of the system calls and I can't see fopen returning EEXIST for any reason. Can you try ltrace as well? Though I don't have high hopes of that revealing anything... Hi, Please find the ltrace outuput attached. strlen(Notes OM concernant Cala Rossa 1...)= 38 malloc(39) = 0x023b1d10 memcpy(0x023b1d10, Notes OM concernant Cala Rossa 1..., 39) = 0x023b1d10 wmove(0x020e12b0, 79, 0) = 0 wclrtoeol(0x20e12b0, 79, 0, 0, 0x23b1d00)= 0 free(0x023b2230) = void free(0x023b24d0) = void snprintf(NULL, 4921903, ) = 38 strncpy(0x7fff64e3a3c0, Notes OM concernant Cala Rossa 1..., 256) = 0x7fff64e3a3c0 strchr(Notes OM concernant Cala Rossa 1..., ':') = NULL strncpy(0x7fff64e3a4c0, Notes OM concernant Cala Rossa 1..., 256) = 0x7fff64e3a4c0 access(Notes OM concernant Cala Rossa 1..., 0) = -1 dcgettext(0, 0x4b3ae8, 5, -120, 217) = 0x4b3ae8 vsnprintf(NULL, 4930280, , 0x004b3af1) = 9 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c90, 1024, 0x7fff64e39c10, 0) = 1 iswblank(83, 0x7fff64e39c34, 83, 0x211d180, 0) = 0 iswprint(83, 0x7fff64e39c34, 83, 0x211d180, 0) = 16384 wcwidth(83, 0x7fff64e39c34, 83, 0x211d180, 0)= 1 wcrtomb(0x7fff64e39c00, 83, 0x7fff64e39c20, 0, 0) = 1 strncpy(0x006dc120, S, 1) = 0x006dc120 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c91, 1023, 0x7fff64e39c10, 0) = 1 iswblank(97, 0x7fff64e39c34, 97, 0x211d180, 0) = 0 iswprint(97, 0x7fff64e39c34, 97, 0x211d180, 0) = 16384 wcwidth(97, 0x7fff64e39c34, 97, 0x211d180, 0)= 1 wcrtomb(0x7fff64e39c00, 97, 0x7fff64e39c20, 0, 0) = 1 strncpy(0x006dc121, a, 1) = 0x006dc121 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c92, 1022, 0x7fff64e39c10, 0) = 1 iswblank(118, 0x7fff64e39c34, 118, 0x211d180, 0) = 0 iswprint(118, 0x7fff64e39c34, 118, 0x211d180, 0) = 16384 wcwidth(118, 0x7fff64e39c34, 118, 0x211d180, 0) = 1 wcrtomb(0x7fff64e39c00, 118, 0x7fff64e39c20, 0, 0) = 1 strncpy(0x006dc122, v, 1) = 0x006dc122 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c93, 1021, 0x7fff64e39c10, 0) = 1 iswblank(105, 0x7fff64e39c34, 105, 0x211d180, 0) = 0 iswprint(105, 0x7fff64e39c34, 105, 0x211d180, 0) = 16384 wcwidth(105, 0x7fff64e39c34, 105, 0x211d180, 0) = 1 wcrtomb(0x7fff64e39c00, 105, 0x7fff64e39c20, 0, 0) = 1 strncpy(0x006dc123, i, 1) = 0x006dc123 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c94, 1020, 0x7fff64e39c10, 0) = 1 iswblank(110, 0x7fff64e39c34, 110, 0x211d180, 0) = 0 iswprint(110, 0x7fff64e39c34, 110, 0x211d180, 0) = 16384 wcwidth(110, 0x7fff64e39c34, 110, 0x211d180, 0) = 1 wcrtomb(0x7fff64e39c00, 110, 0x7fff64e39c20, 0, 0) = 1 strncpy(0x006dc124, n, 1) = 0x006dc124 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c95, 1019, 0x7fff64e39c10, 0) = 1 iswblank(103, 0x7fff64e39c34, 103, 0x211d180, 0) = 0 iswprint(103, 0x7fff64e39c34, 103, 0x211d180, 0) = 16384 wcwidth(103, 0x7fff64e39c34, 103, 0x211d180, 0) = 1 wcrtomb(0x7fff64e39c00, 103, 0x7fff64e39c20, 0, 0) = 1 strncpy(0x006dc125, g, 1) = 0x006dc125 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c96, 1018, 0x7fff64e39c10, 0) = 1 iswblank(46, 0x7fff64e39c34, 46, 0x211d180, 0) = 0 iswprint(46, 0x7fff64e39c34, 46, 0x211d180, 0) = 16384 wcwidth(46, 0x7fff64e39c34, 46, 0x211d180, 0)= 1 wcrtomb(0x7fff64e39c00, 46, 0x7fff64e39c20, 0, 0) = 1 strncpy(0x006dc126, ., 1) = 0x006dc126 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c97, 1017, 0x7fff64e39c10, 0) = 1 iswblank(46, 0x7fff64e39c34, 46, 0x211d180, 0) = 0 iswprint(46, 0x7fff64e39c34, 46, 0x211d180, 0) = 16384 wcwidth(46, 0x7fff64e39c34, 46, 0x211d180, 0)= 1 wcrtomb(0x7fff64e39c00, 46, 0x7fff64e39c20, 0, 0) = 1 strncpy(0x006dc127, ., 1) = 0x006dc127 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c98, 1016, 0x7fff64e39c10, 0) = 1 iswblank(46, 0x7fff64e39c34, 46, 0x211d180, 0) = 0 iswprint(46, 0x7fff64e39c34, 46, 0x211d180, 0) = 16384 wcwidth(46, 0x7fff64e39c34, 46, 0x211d180, 0)= 1 wcrtomb(0x7fff64e39c00, 46, 0x7fff64e39c20, 0, 0) = 1 strncpy(0x006dc128, ., 1) = 0x006dc128 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c99, 1015, 0x7fff64e39c10, 0) = 0 wmove(0x020e12b0, 79, 0) = 0 waddnstr(0x020e12b0, Saving..., -1)= 0 wclrtoeol(0x20e12b0, 46, 2072, 79, 0x21134e0)= 0 wrefresh(0x20e12b0, 0, 2304, 0, 32) = 0 strncpy(0x7fff64e38a20, Notes OM concernant Cala Rossa 1..., 256) = 0x7fff64e38a20 strrchr(Notes OM concernant Cala Rossa 1..., '/') = NULL strncpy(0x7fff64e38a20, ., 256)= 0x7fff64e38a20 snprintf(NULL, 4935274, ) = 13 mktemp(0x7fff64e38920, 0x4b4e6a, 0x7fff64e3892d, 0x4b4e6a, 0) = 0x7fff64e38920 mkdir(./.muttlcowYa,
Bug#670926: fopen: File exists (errno = 17) error when saving mutt attachment to sshfs
Louis-David Mitterrand l...@apartia.fr writes: On Mon, May 14, 2012 at 01:59:27PM +0200, Miklos Szeredi wrote: Louis-David Mitterrand l...@apartia.fr writes: On Mon, May 07, 2012 at 03:41:09PM +0200, Miklos Szeredi wrote: Louis-David Mitterrand l...@apartia.fr writes: Package: sshfs Version: 2.3-1 Severity: normal Hi, When trying to save an attachement with mutt to a sshfs mounted filesystem I always get this error: fopen: File exists (errno = 17) If I try re-saving it mutt prompts me: File exists, (o)verwrite, (a)ppend, or (c)ancel? And overwriting works. Try -oworkaround=rename option. Same error. If that doesn't work please start sshfs with debugging enabled (-odebug,sshfs_debug) and post the resulting log. Here is the ouput: [...] Nothing to see there. The file exists error comes from somewhere else. Can you attach strace to the mutt process and post the result as well? strace -f -o /tmp/strace -p `pidof mutt` Hi, Please find the strace attached. Thanks. Still I have no clues, the EEXIST error is not seen in any of the system calls and I can't see fopen returning EEXIST for any reason. Can you try ltrace as well? Though I don't have high hopes of that revealing anything... Thanks, Miklos 29445 select(1, [0], NULL, NULL, {589, 87552}) = 1 (in [0], left {455, 254252}) 29445 read(0, \r, 1) = 1 29445 rt_sigaction(SIGINT, {0x46b270, [], SA_RESTORER|SA_RESTART, 0x7ff6fe7554f0}, NULL, 8) = 0 29445 access(/mnt/zenon/Invitation projo.jpg, F_OK) = -1 ENOENT (No such file or directory) 29445 write(1, \33[4Ging...\33[K\33(B\33[m, 19) = 19 29445 lstat(/mnt/zenon/.mutt8ispZ2, 0x7fff75664b10) = -1 ENOENT (No such file or directory) 29445 mkdir(/mnt/zenon/.mutt8ispZ2, 0700) = 0 29445 open(/mnt/zenon/.mutt8ispZ2/Invitation projo.jpg, O_WRONLY|O_CREAT|O_EXCL|O_NOFOLLOW, 0600) = 7 29445 close(7) = 0 29445 link(/mnt/zenon/.mutt8ispZ2/Invitation projo.jpg, /mnt/zenon/Invitation projo.jpg) = 0 29445 lstat(/mnt/zenon/.mutt8ispZ2/Invitation projo.jpg, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 29445 lstat(/mnt/zenon/Invitation projo.jpg, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 29445 unlink(/mnt/zenon/.mutt8ispZ2/Invitation projo.jpg) = 0 29445 rmdir(/mnt/zenon/.mutt8ispZ2) = 0 29445 open(/usr/share/locale/en_CA/LC_MESSAGES/libc.mo, O_RDONLY) = -1 ENOENT (No such file or directory) 29445 open(/usr/share/locale/en/LC_MESSAGES/libc.mo, O_RDONLY) = -1 ENOENT (No such file or directory) 29445 write(1, \r\33[31mfopen: File exists (errno ..., 48) = 48 29445 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 29445 rt_sigaction(SIGCHLD, NULL, {0x46b260, [], SA_RESTORER|SA_RESTART|SA_NOCLDSTOP, 0x7ff6fe7554f0}, 8) = 0 29445 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 29445 nanosleep({2, 0}, 0x7fff75665020) = 0 29445 write(1, \rSave to file:\33[K \33(B\33[m, 24) = 24 29445 write(1, /mnt/zenon/Invitation projo.jpg\33..., 37) = 37 29445 rt_sigaction(SIGINT, {0x46b270, [], SA_RESTORER, 0x7ff6fe7554f0}, NULL, 8) = 0 29445 select(1, [0], NULL, NULL, {600, 0} unfinished ... -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#670926: fopen: File exists (errno = 17) error when saving mutt attachment to sshfs
Louis-David Mitterrand l...@apartia.fr writes: On Mon, May 07, 2012 at 03:41:09PM +0200, Miklos Szeredi wrote: Louis-David Mitterrand l...@apartia.fr writes: Package: sshfs Version: 2.3-1 Severity: normal Hi, When trying to save an attachement with mutt to a sshfs mounted filesystem I always get this error: fopen: File exists (errno = 17) If I try re-saving it mutt prompts me: File exists, (o)verwrite, (a)ppend, or (c)ancel? And overwriting works. Try -oworkaround=rename option. Same error. If that doesn't work please start sshfs with debugging enabled (-odebug,sshfs_debug) and post the resulting log. Here is the ouput: [...] Nothing to see there. The file exists error comes from somewhere else. Can you attach strace to the mutt process and post the result as well? strace -f -o /tmp/strace -p `pidof mutt` Thanks, Miklos -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#670926: fopen: File exists (errno = 17) error when saving mutt attachment to sshfs
On Mon, May 14, 2012 at 01:59:27PM +0200, Miklos Szeredi wrote: Louis-David Mitterrand l...@apartia.fr writes: On Mon, May 07, 2012 at 03:41:09PM +0200, Miklos Szeredi wrote: Louis-David Mitterrand l...@apartia.fr writes: Package: sshfs Version: 2.3-1 Severity: normal Hi, When trying to save an attachement with mutt to a sshfs mounted filesystem I always get this error: fopen: File exists (errno = 17) If I try re-saving it mutt prompts me: File exists, (o)verwrite, (a)ppend, or (c)ancel? And overwriting works. Try -oworkaround=rename option. Same error. If that doesn't work please start sshfs with debugging enabled (-odebug,sshfs_debug) and post the resulting log. Here is the ouput: [...] Nothing to see there. The file exists error comes from somewhere else. Can you attach strace to the mutt process and post the result as well? strace -f -o /tmp/strace -p `pidof mutt` Hi, Please find the strace attached. 29445 select(1, [0], NULL, NULL, {589, 87552}) = 1 (in [0], left {455, 254252}) 29445 read(0, \r, 1) = 1 29445 rt_sigaction(SIGINT, {0x46b270, [], SA_RESTORER|SA_RESTART, 0x7ff6fe7554f0}, NULL, 8) = 0 29445 access(/mnt/zenon/Invitation projo.jpg, F_OK) = -1 ENOENT (No such file or directory) 29445 write(1, \33[4Ging...\33[K\33(B\33[m, 19) = 19 29445 lstat(/mnt/zenon/.mutt8ispZ2, 0x7fff75664b10) = -1 ENOENT (No such file or directory) 29445 mkdir(/mnt/zenon/.mutt8ispZ2, 0700) = 0 29445 open(/mnt/zenon/.mutt8ispZ2/Invitation projo.jpg, O_WRONLY|O_CREAT|O_EXCL|O_NOFOLLOW, 0600) = 7 29445 close(7) = 0 29445 link(/mnt/zenon/.mutt8ispZ2/Invitation projo.jpg, /mnt/zenon/Invitation projo.jpg) = 0 29445 lstat(/mnt/zenon/.mutt8ispZ2/Invitation projo.jpg, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 29445 lstat(/mnt/zenon/Invitation projo.jpg, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 29445 unlink(/mnt/zenon/.mutt8ispZ2/Invitation projo.jpg) = 0 29445 rmdir(/mnt/zenon/.mutt8ispZ2) = 0 29445 open(/usr/share/locale/en_CA/LC_MESSAGES/libc.mo, O_RDONLY) = -1 ENOENT (No such file or directory) 29445 open(/usr/share/locale/en/LC_MESSAGES/libc.mo, O_RDONLY) = -1 ENOENT (No such file or directory) 29445 write(1, \r\33[31mfopen: File exists (errno ..., 48) = 48 29445 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 29445 rt_sigaction(SIGCHLD, NULL, {0x46b260, [], SA_RESTORER|SA_RESTART|SA_NOCLDSTOP, 0x7ff6fe7554f0}, 8) = 0 29445 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 29445 nanosleep({2, 0}, 0x7fff75665020) = 0 29445 write(1, \rSave to file:\33[K \33(B\33[m, 24) = 24 29445 write(1, /mnt/zenon/Invitation projo.jpg\33..., 37) = 37 29445 rt_sigaction(SIGINT, {0x46b270, [], SA_RESTORER, 0x7ff6fe7554f0}, NULL, 8) = 0 29445 select(1, [0], NULL, NULL, {600, 0} unfinished ...
Bug#670926: fopen: File exists (errno = 17) error when saving mutt attachment to sshfs
On Mon, May 07, 2012 at 03:41:09PM +0200, Miklos Szeredi wrote: Louis-David Mitterrand l...@apartia.fr writes: Package: sshfs Version: 2.3-1 Severity: normal Hi, When trying to save an attachement with mutt to a sshfs mounted filesystem I always get this error: fopen: File exists (errno = 17) If I try re-saving it mutt prompts me: File exists, (o)verwrite, (a)ppend, or (c)ancel? And overwriting works. Try -oworkaround=rename option. Same error. If that doesn't work please start sshfs with debugging enabled (-odebug,sshfs_debug) and post the resulting log. Here is the ouput: SSHFS version 2.4 FUSE library version: 2.8.7 nullpath_ok: 0 executing ssh -x -a -oClearAllForwardings=yes -2 zenon.apartia.fr -s sftp Server version: 3 Extension: posix-ren...@openssh.com 1 Extension: stat...@openssh.com 2 Extension: fstat...@openssh.com 2 Extension: hardl...@openssh.com 1 unique: 1, opcode: INIT (26), nodeid: 0, insize: 56 INIT: 7.18 flags=0x047b max_readahead=0x0002 INIT: 7.12 flags=0x0011 max_readahead=0x0002 max_write=0x0002 unique: 1, success, outsize: 40 unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56 getattr / [1] LSTAT [1] ATTRS 41bytes (0ms) unique: 2, success, outsize: 120 unique: 3, opcode: LOOKUP (1), nodeid: 1, insize: 44 LOOKUP /tmp getattr /tmp [2] LSTAT [2] ATTRS 41bytes (0ms) NODEID: 2 unique: 3, success, outsize: 144 unique: 4, opcode: LOOKUP (1), nodeid: 2, insize: 79 LOOKUP /tmp/ATELIER JULIA EMEREEVA 17 MAI 2012.pdf getattr /tmp/ATELIER JULIA EMEREEVA 17 MAI 2012.pdf [3] LSTAT [3] STATUS 33bytes (0ms) unique: 4, error: -2 (No such file or directory), outsize: 16 unique: 5, opcode: LOOKUP (1), nodeid: 2, insize: 52 LOOKUP /tmp/.muttLizfuT getattr /tmp/.muttLizfuT [4] LSTAT [4] STATUS 33bytes (0ms) unique: 5, error: -2 (No such file or directory), outsize: 16 unique: 6, opcode: LOOKUP (1), nodeid: 2, insize: 52 LOOKUP /tmp/.muttLizfuT getattr /tmp/.muttLizfuT [5] LSTAT [5] STATUS 33bytes (0ms) unique: 6, error: -2 (No such file or directory), outsize: 16 unique: 7, opcode: MKDIR (9), nodeid: 2, insize: 60 mkdir /tmp/.muttLizfuT 0700 umask=0077 [6] MKDIR [6] STATUS 28bytes (0ms) getattr /tmp/.muttLizfuT [7] LSTAT [7] ATTRS 41bytes (1ms) NODEID: 3 unique: 7, success, outsize: 144 unique: 8, opcode: LOOKUP (1), nodeid: 3, insize: 79 LOOKUP /tmp/.muttLizfuT/ATELIER JULIA EMEREEVA 17 MAI 2012.pdf getattr /tmp/.muttLizfuT/ATELIER JULIA EMEREEVA 17 MAI 2012.pdf [8] LSTAT [8] STATUS 33bytes (0ms) unique: 8, error: -2 (No such file or directory), outsize: 16 unique: 9, opcode: CREATE (35), nodeid: 3, insize: 95 create flags: 0x280c1 /tmp/.muttLizfuT/ATELIER JULIA EMEREEVA 17 MAI 2012.pdf 0100600 umask=0077 [9] OPEN [00010] LSTAT [9] HANDLE 17bytes (0ms) [00010] ATTRS 41bytes (0ms) create[139643734903120] flags: 0x280c1 /tmp/.muttLizfuT/ATELIER JULIA EMEREEVA 17 MAI 2012.pdf fgetattr[139643734903120] /tmp/.muttLizfuT/ATELIER JULIA EMEREEVA 17 MAI 2012.pdf [00011] FSTAT [00011] ATTRS 41bytes (0ms) NODEID: 4 unique: 9, success, outsize: 160 unique: 10, opcode: FLUSH (25), nodeid: 4, insize: 64 flush[139643734903120] unique: 10, success, outsize: 16 unique: 11, opcode: RELEASE (18), nodeid: 4, insize: 64 release[139643734903120] flags: 0x28001 [00012] CLOSE unique: 11, success, outsize: 16 unique: 12, opcode: LOOKUP (1), nodeid: 2, insize: 79 LOOKUP /tmp/ATELIER JULIA EMEREEVA 17 MAI 2012.pdf getattr /tmp/ATELIER JULIA EMEREEVA 17 MAI 2012.pdf [00013] LSTAT [00012] STATUS 28bytes (0ms) [00013] STATUS 33bytes (0ms) unique: 12, error: -2 (No such file or directory), outsize: 16 unique: 13, opcode: LINK (13), nodeid: 2, insize: 87 link /tmp/.muttLizfuT/ATELIER JULIA EMEREEVA 17 MAI 2012.pdf /tmp/ATELIER JULIA EMEREEVA 17 MAI 2012.pdf [00014] EXTENDED [00014] STATUS 28bytes (0ms) getattr /tmp/ATELIER JULIA EMEREEVA 17 MAI 2012.pdf [00015] LSTAT [00015] ATTRS 41bytes (0ms) NODEID: 5 unique: 13, success, outsize: 144 unique: 14, opcode: GETATTR (3), nodeid: 4, insize: 56 getattr /tmp/.muttLizfuT/ATELIER JULIA EMEREEVA 17 MAI 2012.pdf [00016] LSTAT [00016] ATTRS 41bytes (0ms) unique: 14, success, outsize: 120 unique: 15, opcode: UNLINK (10), nodeid: 3, insize: 79 unlink /tmp/.muttLizfuT/ATELIER JULIA EMEREEVA 17 MAI 2012.pdf [00017] REMOVE [00017] STATUS 28bytes (0ms) unique: 15, success, outsize: 16 unique: 16, opcode: FORGET (2), nodeid: 4, insize: 48 FORGET 4/1 DELETE: 4 unique: 17, opcode: RMDIR (11), nodeid: 2, insize: 52 rmdir /tmp/.muttLizfuT [00018] RMDIR [00018] STATUS 28bytes (0ms)
Bug#670926: fopen: File exists (errno = 17) error when saving mutt attachment to sshfs
Louis-David Mitterrand l...@apartia.fr writes: Package: sshfs Version: 2.3-1 Severity: normal Hi, When trying to save an attachement with mutt to a sshfs mounted filesystem I always get this error: fopen: File exists (errno = 17) If I try re-saving it mutt prompts me: File exists, (o)verwrite, (a)ppend, or (c)ancel? And overwriting works. Try -oworkaround=rename option. If that doesn't work please start sshfs with debugging enabled (-odebug,sshfs_debug) and post the resulting log. Thanks, Miklos -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (499, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.3.4-1-pyrrhus (SMP w/4 CPU cores) Locale: LANG=en_CA, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash Versions of packages sshfs depends on: ii fuse2.8.7-2 ii libc6 2.13-31 ii libfuse22.8.7-2 ii libglib2.0-02.32.1-1 ii openssh-client 1:5.9p1-5 sshfs recommends no packages. sshfs suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#670926: fopen: File exists (errno = 17) error when saving mutt attachment to sshfs
Package: sshfs Version: 2.3-1 Severity: normal Hi, When trying to save an attachement with mutt to a sshfs mounted filesystem I always get this error: fopen: File exists (errno = 17) If I try re-saving it mutt prompts me: File exists, (o)verwrite, (a)ppend, or (c)ancel? And overwriting works. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (499, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.3.4-1-pyrrhus (SMP w/4 CPU cores) Locale: LANG=en_CA, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash Versions of packages sshfs depends on: ii fuse2.8.7-2 ii libc6 2.13-31 ii libfuse22.8.7-2 ii libglib2.0-02.32.1-1 ii openssh-client 1:5.9p1-5 sshfs recommends no packages. sshfs suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org