2010年8月11日 星期三

vsftpd configuration for anonymous access

this configuration is for anonymous having ONLY download/upload permission

modify /etc/vsftpd.conf
anonymous_enable=YES
anon_upload_enable=YES
anon_umask=022
anon_mkdir_write_enable=YES
anon_root=/var/ftp
write_enable=YES

if /var/ftp/pub doesn't exist
# mkdir -p /var/ftp/pub

if the user of vsftpd is 'ftp'
# chown ftp:ftp -R /var/ftp/pub

沒有留言: