Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would like to give a user access to our ftp server. Not to everything, just the directory he needs to work in.

When he logs in he should be directed to /var/www/hisdir and not be able to go outside it. I've read about restricting a user to his home directory but not to other directories.

If this is not possible with vsftpd is there maybe something thats more configurable?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

restrict access to the home folder and then mount the folder the user needs to work in under his home directory.

add the line to fstab

/var/www/hisdir     /home/username/somefolder name          none        bind     0   0
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.