|
VSFTPD配置的问题: 匿名用户向新建的目录上传文件成功,但看不到上传的文件,事实上那些文件是传上去了的,只是登录到FTP上看不见.要是传到其它地方却可以看的见.这是我的配置文件:
- anonymous_enable=yes
- local_enable=YES
- write_enable=YES
- local_umask=022
- anon_upload_enable=yes
- anon_mkdir_write_enable=yes
- connect_from_port_20=YES
- xferlog_file=/var/log/vsftpd.log
- idle_session_timeout=600
- ls_recurse_enable=YES
- pam_service_name=vsftpd
复制代码
FTP的目录及属性:
- [root@BL501 ~]# ls -l /var/ftp/pub
- 总用量 43280
- -rw------- 1 ftp ftp 1560171 9月 4 11:45 2.rpm
- -rw------- 1 ftp ftp 42685702 9月 4 11:57 jdk-1_5_0-doc.chm
- drwx------ 2 ftp ftp 4096 9月 4 11:55 test
复制代码
test 是新建的目录,下面的两个文件在登进FTP看不见.
- [root@BL501 ~]# ls -l /var/ftp/pub/test
- 总用量 43272
- -rw------- 1 ftp ftp 1560171 9月 4 11:43 1.rpm
- -rw------- 1 ftp ftp 42685702 9月 4 11:55 jdk-1_5_0-doc.chm
复制代码
刚学,麻烦各位大虾费点时间告诉我,谢谢了!!
另外,我想改FTP的目录,应怎么搞. |
|