Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm a newbie with FTP/User permissions. I have a domain and a dedicated server. Lets say my domain is www.mysite.com All my files are inside httpd folder.

I'd like to create a folder for a new user inside httpd, for example /newuser. The user should be able to access his files from browser www.mysite.com/newuser but this folder should be the root for him.

Ideally he can only upload files onto this folder, with no permission to view files outside this folder. Is this possible. Thanks for your help.

share|improve this question
    
Which FTP daemon are you running? Quite a few will support chrooted environments without much effort. –  NcA Mar 20 '12 at 14:25

1 Answer 1

up vote 1 down vote accepted

There will be a 'lock user to home folder' option you can set to prevent the user from browsing outside of his home directory. You'll just have to look where to enable that - usually when you setup a user account.

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.