vsftp (Very Security Ftp)
CentOS 6.2 32bit
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* extras: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
================================================ Matched: vsftpd ================================================
vsftpd.i386 : vsftpd - Very Secure Ftp Daemon
[root@localhost ~]#
anonymous_enable=YES 允许匿名登录
local_enable=YES
write_enable=YES 给予写权限
local_umask=022
anon_upload_enable=YES 匿名用户上传
anon_mkdir_write_enable=YES 匿名账号创建文件夹
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
idle_session_timeout=600
data_connection_timeout=120
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
[root@Cacti8a pub]#
total 4
drwxr-xr-x. 2 root root 4096 Jun 17 15:03 pub
[root@localhost ftp]# chmod 1777 pub/
[root@localhost ftp]# ll
total 4
drwxrwxrwt. 2 root root 4096 Jun 17 15:03 pub
[root@localhost ftp]#