I've set up VSFTP on my Centos5.5 server. I've created a user on the box for ftp access. In the VSFTP config I've set:
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
The conf file contains the username I created, so that the user is 'jail'ed to their home directory. When I connect to the FTP server using the command line FTP program this rule is followed, ie I can't browse above the home directory. However, when I connect using either Filezilla or gFTP I can browse above the home directory. Also, when I try to connect with either of those GUIs using standard FTP I can't get a directory listing although I can get it when connecting using SFTP. Could this be connected to the problem of the chroot being ignored? And in either case, can anyone suggest how I would go about getting the chroot rule to be followed by these GUIs?
I also followed the instructions on this page (http://www.cyberciti.biz/faq/iptables-open-ftp-port-21/) to open port 21 in the firewall, but it has made no difference.