On 3/25/2011 12:13 PM, Hakan Koseoglu wrote:
On 25 March 2011 19:09, Todd Carytodd@aristesoftware.com wrote:
I am in the process of bring up Centos 5.5. My ftp server is vsftp. When I add a user (e.g. brian), the "brian" directory is owned by "brian" and is in the "brian" group with 700 permissions. However, using a FTP client, the user "brian" can view all of the directories. I do not see any directive in vsftpd.conf to limit this. What have I missed?
You missed the chroot options. chroot_local_user should be set to yes. If you want only certain users to be chrooted, then use chroot_list_enable and add the users to the list file. What this file does changes depending on the value of the chroot_local_user so please read the manual for the exact explanation.
Hakan -
Thank you! There it was within the commented section of vsftp.conf. All working now.
Todd