Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5702166
  • 博文数量: 675
  • 博客积分: 20301
  • 博客等级: 上将
  • 技术积分: 7671
  • 用 户 组: 普通用户
  • 注册时间: 2005-12-31 16:15
文章分类

全部博文(675)

文章存档

2012年(1)

2011年(20)

2010年(14)

2009年(63)

2008年(118)

2007年(141)

2006年(318)

分类: LINUX

2007-04-21 22:25:54

好长时间没有用vsftpd了,今天cliff说要整一下,就开始动手搞
实际上就是原先的Incoming不能够上传了。

vsftpd中匿名用户上传的设置:

匿名用户的设置:
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=YES
no_anon_password=YES
#
# 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
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
anon_mkdir_write_enable=YES
#Anonymous Can download the file he can read
anon_world_readable_only=YES
#Anonymous Can Do Some OPerartions such as "Create Dir,Write,Append,Delete"
#anon_other_write_enable=YES
anon_umask=022
再将允许匿名用户上传的目录的权限改一下就可以了:
      
debian:/home/ftp# chmod 777 Incoming/ -R
可以参考:


阅读(1619) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~