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 an FTP server set up where, off the root, there is a file structure laid out by city. Underneath each city's folder are more folders organized by project. I would like to be able to restrict my guest users (using a specific login/password) in such a way that they are unable to view the folders under the city name, but instead have be brought directly to them via an FTP link.




share|improve this question

To do this, when you create the user you set their home directory to be for example /City2/Project4. You also configure the proftpd DefaultRoot directive in proftpd.conf to lock the user to their home directory.

DefaultRoot ~
share|improve this answer
Unfortunately, we use one guest account for all users. I can't restrict to a specific project directory without creating hundreds of accounts that may only be used one time. – Larry G. Wapnitsky Jul 27 '11 at 12:55
I don't think you can do that. – Iain Jul 27 '11 at 13:07
OK. Thank you. I'll see how I can change my environment – Larry G. Wapnitsky Jul 27 '11 at 13:27

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.