Re: How to limit ftp users to just view their directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 25 March 2011 19:09, Todd Cary <todd@xxxxxxxxxxxxxxxxxx> 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 (m1fcj) - http://www.hititgunesi.org
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux