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 have used vsftpd to create ftp server of my ubuntu 12.04 desktop version. I have created too many users on ubuntu desktop.the problem is that..When I access it through FTP client with specific user,its shows all users directories. I want to show only directories that are intended to that user which I have loggedin, I want to hide all other directories.

Please guide me.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

This is more a question on how to setup vsftpd than Ubuntu related.

If memory serves me well you need to add

chroot_local_user=YES

to your configuration (/etc/vsftpd.conf)


edit:

Found a source: https://security.appspot.com/vsftpd/FAQ.txt

share|improve this answer
    
Thanks its working.. –  Nitin Jul 18 '12 at 9:23
    
Excellent @Nitin Mind if I remind you that AU works best by upvoting and accepting the best answer to your question? ;) –  Rinzwind Jul 18 '12 at 9:27
    
but now I have another problem, its shows hidden directory which is in the user's home directory. I want to hide that directories as well.. for that I have used.. force_dot_files=NO but its not working. –  Nitin Jul 18 '12 at 9:39
add comment

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.