博客首页 注册 建议与交流 排行榜 加入友情链接
推荐 投诉 搜索: 帮助

hope_process

I think ,therefore I am.
  heixia108.cublog.cn

关于作者
    既然目标是地平线

   留给世界的只能是背影
   
|| << >> ||
我的分类


解决vsftp 不能匿名上传文件的问题
步骤如下:
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.如果不出意外应该可以匿名上传了 :)

发表于: 2008-05-05,修改于: 2008-05-05 22:48,已浏览249次,有评论0条 推荐 投诉


网友评论
 发表评论