PDA

View Full Version : Set Permission For Group


klaku007
12-17-2006, 02:13 PM
Sorry for this question it is kind a lame :P
But How i can set permission's for some group or for one person i mean
that this group can only download, upload, create folders and other can do all
PLZ HELP :P

LordM
12-17-2006, 03:40 PM
Look into ioFTPD.ini. There you'll find a section
#
# Detailed permissions for directories
#
# priviledge = <virtual path> <rights>
#
And if you set the value for example for Upload like this:

Upload = * !o *

Then no User that has got the Flag 'o' won't be able to upload.

klaku007
12-18-2006, 03:24 AM
I have changed this:
# priviledge = <virtual path> <rights>
#
Upload = * !o *
Resume = * !o *
Download = * !o *
MakeDir = * !o *
RemoveOwnDir = * !o *
RemoveDir = * 1VM
Rename = * 1VM
RenameOwn = * !o *
Overwrite = * 1VM
Delete = * 1VM
DeleteOwn = * !o *
NoStats = * !*

And I give Test user flag o
[R] SITE CHANGE test1 FLAGS +o
[R] 200-test1: Account modified.
, and when i try to make dir with this test user i have
[R] MKD somedir
[R] 550 somedir: Permission denied.
Why ??

razoor
12-18-2006, 07:54 AM
You didn´t even read the above post did you?

Upload = * !o *

Then no User that has got the Flag 'o' won't be able to upload.

Upload = * !o *
Resume = * !o *
Download = * !o *
MakeDir = * !o *
RemoveOwnDir = * !o *
RemoveDir = * 1VM
Rename = * 1VM
RenameOwn = * !o *
Overwrite = * 1VM
Delete = * 1VM
DeleteOwn = * !o *
NoStats = * !*

klaku007
12-18-2006, 04:43 PM
hym OK So i Remove that o flag for this test account

[R] SITE CHANGE test FLAGS -o
[R] 200-test2: Account modified.

And still when i try to make dir i have

[R] MKD ll
[R] 550 ll: Permission denied.

So Why i can't Make Dir on Other Account then ioFTPD ??

goodgod
12-19-2006, 02:56 AM
first you must run a command : SITE CHMOD %d[Permissions eg. 777, 755 or 644] %f
wish admin account to make the folder belong to you.

klaku007
12-19-2006, 09:13 AM
But i have

[R] SITE CHMOD 777 /dir
[R] 550 'SITE CHMOD': Access denied.

goodgod
12-19-2006, 11:13 PM
with your admin account to run this command