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 have installed vsftpd on ubuntu 10.04

When i login using ip , username and passowrd then i straight go to home directory of user.

is there any way that i can

1)Make separate user for only ftp
2)WHen they login via ftp, they should see the mounted drive i,e /media/shared_drive only not their home directory
3)They have all read and write access
share|improve this question

2 Answers 2

up vote 0 down vote accepted


I think this link covers what you want. You can accomplish #2 with symbolic links. #3 you'll have to set user permissions for the directories in question, I think.

share|improve this answer

symbolic links may not work properly, because they cannot be followed outside of a chroot jail.

instead, you can just mount the directory you want with the option "--bind" :

# mount --bind /media/shared_drive /home/ftp/pub
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.