Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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


to your configuration (/etc/vsftpd.conf)


Found a source:

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

Your Answer


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.