Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


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.