Chinaunix

标题: 用ftp登陆unix系统后用ls查看文件,文件和目录无法显示出来? [打印本页]

作者: ganybo    时间: 2011-01-20 09:07
标题: 用ftp登陆unix系统后用ls查看文件,文件和目录无法显示出来?
本帖最后由 ganybo 于 2011-01-20 11:44 编辑

用ftp登陆unix系统后用di、ls查看文件,文件和目录无法显示出来,pub下面是有目录和文件的。但用root登陆就可以。过程如下:

#ftp 110.134.30.136
Connected to 110.134.30.136.
220-
220 scosysv FTP server (Version wu-2.6.2(1) Thu Aug 3 02:08:20 EDT 2006) ready.
Name (10.34.0.36:root): ftp
331 Guest login ok, send your complete e-mail address as password.
Password:
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd
257 "/" is current directory.
ftp> cd pub
250 CWD command successful.
ftp> pwd
257 "/pub" is current directory.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
ftp>


这是怎么回事啊?哪位老大能指点下。
作者: fenginf    时间: 2011-02-24 09:36
看下chroot_list_enable参数
作者: ganybo    时间: 2011-02-28 11:02
回复 2# fenginf


    在哪的?能否具体点
作者: fenginf    时间: 2011-03-02 00:02
配置文件里的,至于具体有什么用 请 man vsftpd.conf




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2