- 论坛徽章:
- 1
|
本帖最后由 howandsen 于 2014-06-02 12:05 编辑
vsftpd on CentOS 6.5
匿名用户连接,进入pub目录, 可上传,可下载,可建子目录,但无法列出新建的子目录:
ftp> cd pub
250 Directory successfully changed.
ftp> ls
227 Entering Passive Mode (192,168,253,55,154,222).
150 Here comes the directory listing.
drwx------ 4 14 50 4096 Jun 02 03:45 test
-rw-r--r-- 1 500 500 9815 Jun 02 02:20 index.jsp
226 Directory send OK.
ftp> cd test
250 Directory successfully changed.
ftp> ls
227 Entering Passive Mode (192,168,253,55,151,227).
150 Here comes the directory listing.
226 Transfer done (but failed to open directory).
iptables 已关
selinux 已关
权限如下:
drwxr-xr-x. 3 root root 4096 May 31 12:42 /var/ftp
drwxrwxrwx. 3 ftp ftp 4096 Jun 2 10:27 /var/ftp/pub/
drwx------. 4 ftp ftp 4096 Jun 2 11:45 /var/ftp/pub/test/
相关配置如下:
anonymous_enable=YES
local_enable=YES
write_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
会是什么问题呢?
|
|