步骤如下:
1.把下面两行
anon_upload_enable=YES
anon_mkdir_write_enable=YES
前的"#"去掉
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
anon_mkdir_write_enable=YES
2.关闭selinux
vi /etc/sysconfig/selinux
selinux=disable
关闭
reboot
3.修改/var/ftp目录下pub的权限
[root@localhost ftp]# chmod 777 pub
4.如果不出意外应该可以匿名上传了 :)
阅读(1148) | 评论(0) | 转发(0) |