Go Back   FlashFXP Forums > > > >

ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD.

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-18-2009, 01:23 PM   #1
weisan
Junior Member
ioFTPD Registered User
 
Join Date: Jul 2005
Posts: 28
Default Full Rights to a Dir!

How can I give a group called 'testgroup' full rights to their private dir ??
So all the group members can upload/delete the others files inside that private dir ??
weisan is offline   Reply With Quote
Old 04-18-2009, 07:48 PM   #2
razoor
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2006
Posts: 163
Default

Quote:
SITE CHATTR +h =testgroup
will sort so just testgroup is abel to see that dir.

then look under permissions in the .ini file
Just add the group there.
__________________
ioFTPD 7.0.3 nxTools ioNiNJA ioJM http://ioftpd.zapto.org /
razoor is offline   Reply With Quote
Old 04-19-2009, 12:32 AM   #3
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

1) site chattr +h DirName =testgroup
2) site chmod -R 777 DirName
3) edit the .ini file to make sure things like Delete are valid for users in that section... "Delete = /Path/DirName/* 1VM =testgroup". Use quotes around path if it contains spaces. You could open up /Path/* to everyone and rely on the private group setting to control who can enter that dir, but it's probably safer to enumerate the rights in the .ini though it's more work... Probably something I should think about making easier to do so people don't need to edit the .ini file like making the private dir setting use named permission templates... hmm...
Yil is offline   Reply With Quote
Old 04-19-2009, 05:42 AM   #4
weisan
Junior Member
ioFTPD Registered User
 
Join Date: Jul 2005
Posts: 28
Default

Yeh .. seems to work now after I did these changes to .ini file:

#Delete = /* 1VM
Delete = /GROUPS/testgroup/* 1VM =testgroup

What about if I want to add more groups ??? Seems not to work if I don't comment out the first "Delete" line.
weisan is offline   Reply With Quote
Old 04-19-2009, 12:59 PM   #5
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

Read the comments above in the .ini file... The rights are determined by the first matching line in the [VFS] section. Thus more specific paths must occur first. The original Default= line matches everything and thus it found first. Just move the /GROUPS/ stuff above the defaults.
Yil is offline   Reply With Quote
Old 04-19-2009, 06:06 PM   #6
weisan
Junior Member
ioFTPD Registered User
 
Join Date: Jul 2005
Posts: 28
Default

I'm a bad reader ... works fine now Thx for all the help!
weisan is offline   Reply With Quote
Reply

Tags
dir, full, group, private, rights

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 09:13 AM.

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