This error is because the permission of ftp home folder.My linux is gentoo, so the default of ftp home folder is /home/ftp, I just get rid of write right of ftp folder
chmod 555 /home/ftp
mkdir -pv /home/ftp/upload
chmod 777 /home/ftp/upload
Now the anonymous could upload anything he wants.
Tips
How to know a user's home folder
cat /etc/passwd |grep ftp
ftp:x:109:65534::/home/ftp:/bin/false
阅读(305) | 评论(0) | 转发(0) |