Hi there
I have been messing with that vsftpd for a couple of days (not that being my top priority though) and whatever I tried anonymous user cannot upload or download. I read man 5 vsftpd, which has all the options for the config file, and I built mine from scratch. Here it is:
Quote:
#
#global stuff
write_enable=YES
download_enable=YES
local_enable=YES
local_umask=022
dirlist_enable=YES
dirmessage_enable=NO
xferlog_enable=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
idle_session_timeout=600
#data_connection_timeout=120
connect_from_port_20=YES
chown_uploads=YES
chown_username=root
ascii_download_enable=NO
ascii_upload_enable=NO
ftpd_banner=Welcome to cubalan.net FTP service.
#deny_email_enable=YES
#banned_email_file=/etc/vsftpd.banned_emails
#chroot_list_enable=YES
#chroot_list_file=/etc/vsftpd.chroot_list
chroot_local_user=YES
#anonymous stuff
anonymous_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=NO
anon_upload_enable=YES
anon_world_readable_only=YES
no_anon_password=YES
anon_root=/var/ftp/pub/
background=NO
check_shell=YES
chmod_enable=YES
pasv_enable=YES
port_enable=YES
session_support=YES
use_localtime=YES
use_sendfile=YES
hide_ids=YES
#nopriv_user=ftpsecure
pam_service_name=vsftpd
userlist_enable=YES
listen=YES
tcp_wrappers=YES
|
I also tried changing /var/ftp/pub (the directory for anonymous logins) to have permissions so everyone can write on it , but that didn't help neither.
That's it, please help
Kaloian