Ftp – VSFTP chroot_local_user doesn’t work

ftpvsftpd

VSFTP is set up and I want users not to go into other directories then their /home. I've set:

chroot_local_user=YES

But it doesn't seem to work (after restarting).

Could it be that I have the wrong config file? Or is there other settings or ways of logging in that skip this config line?


Edit: Together with someone else I found that the vsftp was not at all the server listening to the port.. Therefor, I didn't see my changes reflected. Solved the problem somewhere else thus.

Still, the answers below might solve the problem for others who have this.

Best Answer

Do you have the chroot_list_enable option enabled? If so, any users listed in chroot_list_file will not be chrooted.