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

I setup VSFTPD on my Ubuntu server 12.04, it worked very good. Until I tried to change the permissions of the user so the user couldn't go in the / directory and only in the directories inside /home/user/public_html.

It could have to do something with the fact that I did this:

sudo chmod 700 -R /

I have a user, ftpUser and he is inside a group, ftpUsers. The permissions of /home/user/public_html are:

drwxrwxr-x 9 ftpUser ftpUsers 4096

My VSFTPD file looks like this:


And in /etc/vsftpd.userlist there is only one line: ftpUser

How do I solve this so I can login, it think it has to do something with permissions but I don't now what it is!?

share|improve this question
Is user ftpUser a local or a virtual user? And does he has a home dir? –  OrangeTux Aug 10 '12 at 13:00
It's a local user, and the home dir is /home/user/public_html, but now I tried to reboot Ubuntu server and I cannot log in with any account... –  tversteeg Aug 10 '12 at 13:01
And when you set chroot_local_user=NO? Just for checking it that is the problem. I think that it has to do with that. –  OrangeTux Aug 10 '12 at 13:04
Then I still get the same error! –  tversteeg Aug 10 '12 at 13:20

1 Answer 1

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.