Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 created a user in linux (User1 for the purpose of this question). I have changed User1's home directory to a new directory. I would like to ensure that User1, when FTP'ing, cannot browse out of their home directory but can still browse deeper into it.

Thanks in advance.

share|improve this question

migrated from stackoverflow.com Feb 17 '12 at 5:35

This question came from our site for professional and enthusiast programmers.

    
You'll need to tell us which FTP server you're running. – phasetwenty Feb 16 '12 at 18:41
up vote 2 down vote accepted

Cause your FTP server process to chroot the user to their home directory. This is an option in most popular FTP daemons.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .