Nicolas Varney - 2008-08-07

Logged In: YES
user_id=737586
Originator: YES

More information:
The command touch works:

$ touch /mnt/ftp/test ; echo $?
0

Debug log:
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.9
flags=0x0000000b
max_readahead=0x00020000
INIT: 7.8
flags=0x00000001
max_readahead=0x00020000
max_write=0x00020000
unique: 1, error: 0 (Success), outsize: 40
unique: 2, opcode: LOOKUP (1), nodeid: 1, insize: 45
LOOKUP /test
ftpfs: operation ftpfs_getattr failed because No such file or directory
unique: 2, error: -2 (No such file or directory), outsize: 16
unique: 3, opcode: CREATE (35), nodeid: 1, insize: 53
ftpfs: operation ftpfs_chmod failed because Operation not permitted
ftpfs: operation ftpfs_getattr failed because No such file or directory
unique: 3, error: -2 (No such file or directory), outsize: 16
unique: 4, opcode: LOOKUP (1), nodeid: 1, insize: 45
LOOKUP /test
NODEID: 2
unique: 4, error: 0 (Success), outsize: 136
unique: 5, opcode: SETATTR (4), nodeid: 2, insize: 128
unique: 5, error: 0 (Success), outsize: 112

BUT pipes does not when file does not already exists:

$ > /mnt/ftp/test
-bash: /mnt/ftp/test: No such file or directory

Debug log:
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.9
flags=0x0000000b
max_readahead=0x00020000
INIT: 7.8
flags=0x00000001
max_readahead=0x00020000
max_write=0x00020000
unique: 1, error: 0 (Success), outsize: 40
unique: 2, opcode: LOOKUP (1), nodeid: 1, insize: 45
LOOKUP /test
ftpfs: operation ftpfs_getattr failed because No such file or directory
unique: 2, error: -2 (No such file or directory), outsize: 16
unique: 3, opcode: CREATE (35), nodeid: 1, insize: 53
ftpfs: operation ftpfs_chmod failed because Operation not permitted
ftpfs: operation ftpfs_getattr failed because No such file or directory
unique: 3, error: -2 (No such file or directory), outsize: 16