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
沒有留言:
張貼留言