Forum Moderators: bakedjake
Oops, looks like that was actually 3 questions. Oh well. Thanks in advance for any help.
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=000
anon_umask=022
anon_upload_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
ascii_upload_enable=YES
ascii_download_enable=YES
chroot_list_enable=NO
chroot_local_user=NO
passwd_chroot_enable=NO
chroot_list_file=/etc/vsftpd.chroot_list
pam_service_name=vsftpd
userlist_enable=YES
listen=YES
After further investigation, I think I have narrowed the problem. Using "real" ftp clients, such as SmartFTP or whatever the command line client is that comes with RH9, I can escape my home directory, so vsftpd seems to be behaving properly. However, using IE's ftp client, I cannot. Why is that? Other users on the system do use IE for ftp, so is there anyway to escape the home directory?
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=000
anon_umask=022
#local users should be able to upload files, while anonymous users should not
anon_upload_enable=NO
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
ascii_upload_enable=YES
ascii_download_enable=YES
chroot_list_enable=YES
chroot_local_user=NO
passwd_chroot_enable=NO
#add any local users you want to chroot to this list.
#Local users not on this list will not be chrooted.
#Anonymous users are chrooted by default.
chroot_list_file=/etc/vsftpd.chroot_list
pam_service_name=vsftpd
userlist_enable=YES
listen=YES
After restarting the daemon:
Local users can log in and upload etc. to any directory they have permissions for.
Anonymous users can log in and are chrooted to the default ftp directory (/var/ftp). They can only download.
Check the installation instructions at ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-1.1.3/INSTALL for more info.