PDA

View Full Version : chown problem


mr_F_2
12-20-2004, 12:54 AM
I have a siteop user (has flag 1) who fails on chown.

example:

user: xxx
flags: 31
site chown xxx:SiTEOPS somedir
500 somedir: Permission denied.

but when a master user (has flag M) does it it succeeds:

site chown xxx:SiTEOPS somedir
200 chown Command successful.


this is strange to me, because my ioFTPD.ini contains:
[FTP_SITE_Permissions]
chown = 1MV


and (just to be safe)

[Telnet_Command_Permissions]
chown = 1MV

i restarted ioFTPD to see if rehash just wasn't handling it ,but it flat-out doesn't work...

might be a bug, might not, thought i'd mention it here before assuming it's a bug. can anyone else confirm this?

restesouple
12-20-2004, 02:20 AM
Try

chown = 1M

EwarWoo
12-20-2004, 06:41 AM
Is the dir currently owned by a +M user?
Not certain, but think it could react same way as when you try to edit a +M user. You may have permission to edit users, but you aint touching anything owned by +M.

Guardian
12-20-2004, 08:40 AM
try to remove the flag "3" from that user ... so he/she/it just have "1" ...

mr_F_2
12-20-2004, 02:50 PM
Originally posted by EwarWoo
Is the dir currently owned by a +M user?
Not certain, but think it could react same way as when you try to edit a +M user. You may have permission to edit users, but you aint touching anything owned by +M.

Ahhhh good call man. That was it .never even considered that. Thanks :)

and regarding:


try to remove the flag "3" from that user ... so he/she/it just have "1" ...

a user having extra flags shouldn't affect the usabillity of the other flags they have that give them superior permissions, but thanks for the input still