Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

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.