On Mon, May 07, 2012 at 03:41:09PM +0200, Miklos Szeredi wrote:
> Louis-David Mitterrand <[email protected]> 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: [email protected] <1>
Extension: [email protected] <2>
Extension: [email protected] <2>
Extension: [email protected] <1>
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.18
flags=0x0000047b
max_readahead=0x00020000
   INIT: 7.12
   flags=0x00000011
   max_readahead=0x00020000
   max_write=0x00020000
   unique: 1, success, outsize: 40

unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56
getattr /
[00001] LSTAT
  [00001]          ATTRS       41bytes (0ms)
   unique: 2, success, outsize: 120
unique: 3, opcode: LOOKUP (1), nodeid: 1, insize: 44
LOOKUP /tmp
getattr /tmp
[00002] LSTAT
  [00002]          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
[00003] LSTAT
  [00003]         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
[00004] LSTAT
  [00004]         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
[00005] LSTAT
  [00005]         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
[00006] MKDIR
  [00006]         STATUS       28bytes (0ms)
getattr /tmp/.muttLizfuT
[00007] LSTAT
  [00007]          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
[00008] LSTAT
  [00008]         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
[00009] OPEN
[00010] LSTAT
  [00009]         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)
   unique: 17, success, outsize: 16
unique: 18, opcode: FORGET (2), nodeid: 3, insize: 48
FORGET 3/1
DELETE: 3




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to