再发帖 关于vsftpd 已经把问题讲得很详细了

由 weegc 在 10-03-2004 15:31 发表:

再发帖 关于vsftpd 已经把问题讲得很详细了

我用的是apt-get 安装的vsftpd, 只发现了home 目录下有一个ftp文件夹

vsftpd.conf的设置 已经按精华贴设置好了 但小弟(新手)还有几个问题

如果是匿名用户连到ftp服务器的话 究竟是连到哪里呢??就是/home/ftp这里吗??

还有一个问题 就是我放了一个文件在/home/ftp 这里 为什么匿名连上来看不到那个我文件呢?

而且会提示failed to open directory 为什么呢? 还有就是匿名用户上传的问题 出错提示是:

553 Could not create file.

PASV

227 Entering Passive Mode (192,168,32,113,28,11)

LIST -L

150 Here comes the directory listing.

226 Transfer done (but failed to open directory). 这个问题怎么解决呢??

我看文档里有一句话:在新版的Debian中,默认状态下X11不允许TCP/IP(远程)连接。参阅X的TCP/IP连接, 第 9.4.6 节,使用SSH进行X传送也是禁用的,参阅X远程联接:ssh, 第 9.4.8 节。

是不是和这个有关系的? 高手赐教!!


由 X10er 在 10-03-2004 16:23 发表:


把你的vsftpd.conf贴出来看看


由 weegc 在 10-04-2004 11:24 发表:


附上vsftpd.conf:

listen=yes

#listen_ipv6=YES

anonymous_enable=yes

local_enable=yes

write_enable=yes

local_umask=022

pam_service_name=vsftpd

anon_upload_enable=yes

anon_mkdir_write_enable=yes

anon_other_write_enable=yes

dirmessage_enable=yes

xferlog_enable=yes

connect_from_port_20=yes

chown_uploads=yes

chown_username=root

xferlog_file=/var/log/vsftpd.log

xferlog_std_format=yes

idle_session_timeout=600

data_connection_timeout=120

#nopriv_user=ftpsecure

async_abor_enable=yes

ascii_upload_enable=yes

ascii_download_enable=yes

ftpd_banner=Welcome to weegc'FTP service.

#deny_email_enable=YES

#banned_email_file=/etc/vsftpd.banned_emails

chroot_local_user=NO

chroot_list_enable=YES

chroot_list_file=/home/ftp

ls_recurse_enable=NO

pasv_enable=yes

user_config_dir=/home/ftp


由 weegc 在 10-05-2004 11:46 发表:


别沉啊 我搞很久也搞不掂!!


由 X10er 在 10-05-2004 13:53 发表:


匿名连接就是连接到了/home/ftp

看看你的/home/ftp文件夹的权限

chroot_local_user=NO

chroot_list_enable=YES

chroot_list_f

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus