Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have decided to use mod_auth_file, and made AuthGroupFile and AuthUserFile but each user points to own home directory /home/username as described in AuthUserFile.
How to get server to work in structure as described below ?

Group 'developers':
   /upload      read/write
   /source      read/write
   /project1    read/write
   /project2    read/write

Group 'project1':
   /upload      read/write
   /project1    read

Group 'project2':
   /upload      read/write
   /project2    read

these folders supposed to be shared across all users.
all folders physically lay out in single root folder for example /srv/ftp

share|improve this question

1 Answer 1

The directives DefaultChdir and DefaultRoot support this kind of behaviour.

share|improve this answer
    
can you provide more info, maybe config example suitable for my needs ? –  diimdeep Apr 25 '12 at 13:37
    
sorry, but still can't fugure out how configure it, any additional info will be helpfull –  diimdeep Apr 26 '12 at 10:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.