|
|
发表于 2007-1-22 19:56:11
|
显示全部楼层
恩 不好意思看错地方了
然后我自己在suse 10.2 里面配置了一下vsftpd
已经可以匿名上传和下载了
-------------------------------------------------------------
vsftpd.conf
首先需要定义全局的
# General Settings
#
# Uncomment this to enable any form of FTP write command.
#
write_enable=YES
然后才是匿名的
# Anonymus FTP user Settings
#
# Allow anonymous FTP?
#
anonymous_enable=YES
#
# Anonymous users will only be allowed to download files which are
# world readable.
#
#anon_world_readable_only=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
#
# Default umask for anonymus users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
#
#anon_umask=022
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#
anon_mkdir_write_enable=YES
#
# Uncomment this to enable anonymus FTP users to perform other write operations
# like deletion and renaming.
#
#anon_other_write_enable=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#
#chown_uploads=YES
#chown_username=whoever
--------------------------------------------------------------
然后查一下/var/ftp/pub 的权限 需要是ftp用户和组
suse 10.2 是在/srv/ftp下面,我建立一个pub的目录 ,修改其的组 用户全部是ftp |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|