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 a FTP user, their default directory is /home/user/. I am in need of a setting that will remove the ability for files, and directories in that directory. However, they can freely create new files and folders in any folders that already exist in /home/user/.

How can this be done?

share|improve this question
To clarify: you only want to remove access to create and modify in the root folder /home/user, but allow access to everything in sub-folders below that? – user3463 May 28 '12 at 23:12
up vote 0 down vote accepted

If you remove write permission on /home/user/ the user won't be able to create, delete or rename files and directories in /home/user/. You should retain write permission on the subdirectories which you want the user to be able to modify.

share|improve this answer

You must log in to answer this question.

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