Hi guys,

I've setup vsFTPd server and it works fine. However, I need to restrict local users to their own folders. Currently, anyone who loges in vsFTPd server can navigate through all the folders.

e.g.
User: myuser
Directory: /var/www/http/folder-for-myuser

In this case, myuser should only see this folder, no other folders.

Thanks in advance

Ok I've got the answer.

chroot_local_user=YES should be uncommented in vsftpd.conf file. Thats' all

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.