Go Back   FlashFXP Forums > > > >

Bug Reports If you discover any bugs that we are not aware of, please post it here so it may be corrected.

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-24-2004, 12:32 PM   #1
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default itcl: vfs write group ownership not working

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.
Mouton is offline   Reply With Quote
Old 01-24-2004, 12:53 PM   #2
b>d>>s
Senior Member
 
Join Date: Feb 2003
Posts: 488
Default

nope it dont, u get NoGroup or whatever ..
b>d>>s is offline   Reply With Quote
Old 01-24-2004, 01:45 PM   #3
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Will check that tomorrow.. propably something wrong with gid boundary check.
darkone is offline   Reply With Quote
Old 01-25-2004, 12:03 PM   #4
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Fixed... it was storing UID instead of GID to gid variable
darkone is offline   Reply With Quote
Reply

Tags
$result, vfs, write, [lindex, [l]

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:03 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)