标题: vsftpd:user can login.but fail to open directory [打印本页] 作者: xb_parasite 时间: 2005-11-14 12:12 标题: vsftpd:user can login.but fail to open directory I use FC4 with default vsftpd installed.
local user and anonymous can login,but fail to open directory.Nor can do any operations(mkdir,upload,download)
#ls -l /var/|grep ftp
drwxrwxrwx 4 beffery beffery 4096 Nov 13 07:38 ftp
#ftp 127.0.0.1
ftp 127.0.0.1
Connected to 127.0.0.1.
220 Welcome to blah FTP service.
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (127.0.0.1:root): beffery
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
227 Entering Passive Mode (127,0,0,1,233,186)
150 Here comes the directory listing.
226 Transfer done (but failed to open directory).
ftp> mkdir try
550 Create directory operation failed.
ftp>
This is my /etc/vsftpd/vsftpd.conf:
------------------------------------------------
anonymous_enable=YES
local_enable=YES
chroot_local_user=YES
local_root=/var/ftp