Mouton
01-24-2004, 12:32 PM
It seems vfs write doesn't write the ownergroup...
GroupIdTable:
Admins:0:STANDARD
NoGroup:1:STANDARD
Trial:2:STANDARD
itcl:
set result [vfs read $realdir]
iputs "vfs read $realdir: $result"
vfs write $realdir [lindex $result 0] [lindex $result 1] 000
iputs "vfs write $realdir [lindex $result 0] [lindex $result 1] 000"
before:
drwxrwxrwx 2 Mouton Admins 17092 Jan 18 21:12 testFolderName
output:
[12:23:24] [L] 200-vfs read d:/ioftpd/site/mp3/040118/testFolderName: 10 0 777
[12:23:24] [L] 200-vfs write d:/ioftpd/site/mp3/040118/testFolderName 10 0 000
[12:23:24] [L] 200 Command successful.
after:
d--------- 2 Mouton nogroup 17092 Jan 18 21:12 testFolderName
I also tried other values for <gid> in vfs write, always gets nogroup as owner group.
GroupIdTable:
Admins:0:STANDARD
NoGroup:1:STANDARD
Trial:2:STANDARD
itcl:
set result [vfs read $realdir]
iputs "vfs read $realdir: $result"
vfs write $realdir [lindex $result 0] [lindex $result 1] 000
iputs "vfs write $realdir [lindex $result 0] [lindex $result 1] 000"
before:
drwxrwxrwx 2 Mouton Admins 17092 Jan 18 21:12 testFolderName
output:
[12:23:24] [L] 200-vfs read d:/ioftpd/site/mp3/040118/testFolderName: 10 0 777
[12:23:24] [L] 200-vfs write d:/ioftpd/site/mp3/040118/testFolderName 10 0 000
[12:23:24] [L] 200 Command successful.
after:
d--------- 2 Mouton nogroup 17092 Jan 18 21:12 testFolderName
I also tried other values for <gid> in vfs write, always gets nogroup as owner group.