Hi
i had configured a ftp server.I have directory /data,/root,/ dir with 777 permision.How can i block users of VSFTPD/FTP will be limited to accessing only files in their own home directory.
They should not access other than they home directory .So i tried the below documentation to chroot to particular home directory.But im facing out the below error ,Currently im using out the below command to block users to limit other than home directory.
setfacl -m u:username:rwx /data --data with full access
setfacl -m u:username:--- /root --blocking root access
setfacl -m u:username:--- /temp
But it denied permission but i can view directory listting of the directory.Im just trying out to block directory listing .So im trying to chroot user to there home directory alone
Link which i followed to enable chroot
http://www.cyberciti.biz/tips/vsftp-...directory.html
vi /etc/vsftpd/vsftpd.conf i had enabled these two lines for chroot
chroot_list_enable=YES
# (default follows)
chroot_list_file=/etc/vsftpd/chroot_list
500 OOPS: could not open chroot() list file:/etc/vsftpd/chroot_list
cananyone help me wat the conf error i have done in my configuration?Whether i can achieve these using chroot