PDA

View Full Version : [Fixed] itcl: vfs write group ownership not working


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.

b>d>>s
01-24-2004, 12:53 PM
nope it dont, u get NoGroup or whatever ..

darkone
01-24-2004, 01:45 PM
Will check that tomorrow.. propably something wrong with gid boundary check.

darkone
01-25-2004, 12:03 PM
Fixed... it was storing UID instead of GID to gid variable :)