免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1709 | 回复: 5
打印 上一主题 下一主题

我用fedora core4 的vsftpd实现匿名用户的上传,不能是为什么,但是能下载 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-11-19 21:49 |只看该作者 |倒序浏览
有谁能帮我一下解决这个问题
我用fedora core4 的vsftpd实现匿名用户的上传,不能是为什么,但是能下载
我的vsfptd.conf的配置如下:
anonymous_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
anon_world_readable_only=NO
同时创建匿名上传目录
mkdir  ar/ftp/incoming
chmod o+w  ar/ftp/incoming/
只能下载,不能上传

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
2 [报告]
发表于 2005-11-20 01:21 |只看该作者
开启匿名FTP服务器上传权限 需要添加的:
Anon_upload_enable=yes (开放上传权限)
Anon_mkdir_write_enable=yes (可创建目录的同时可以在此目录中上传文件)
Write_enable=yes (开放本地用户写的权限)
Anon_other_write_enable=yes (匿名帐号可以有删除的权限)

论坛徽章:
0
3 [报告]
发表于 2005-11-21 12:50 |只看该作者
# Allow anonymous FTP?
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# 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
write_enable=YES
# Uncomment this if you want the anonymous FTP user to be able to create
# 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
write_enable=YES
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
anon_mkdir_write_enable=YES
anon_world_readable_only=NO
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES

论坛徽章:
0
4 [报告]
发表于 2005-11-21 12:51 |只看该作者
看下

论坛徽章:
0
5 [报告]
发表于 2005-11-23 15:06 |只看该作者
先备份一下
cp /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf.bak

修改一下配置
anonymous_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
anon_world_readable_only=NO


再开启
write_enable=yes    允许用户有写入的权力

同时创建匿名上传目录
mkdir  ar/ftp/incoming
chmod o+w  ar/ftp/incoming/


还要注意重启服务
service vsftpd restart


论坛徽章:
0
6 [报告]
发表于 2005-11-29 10:07 |只看该作者
FC4的话,看看是不是启用了SELinux。可以到ftp版的精华里找解决办法。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP