歡迎您光臨本站 註冊首頁

關於VSFTPD的一個匿名用戶不能下載的問題!

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

關於VSFTPD的一個匿名用戶不能下載的問題!

我是匿名用戶和實體用戶一起用的!實體用戶沒問題!匿名用戶就只能上傳不能下載!上傳了的文件我查看了一下許可權為drwx------的!配置文件如下!
listen=YES
#listen_ipv6=YES
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
#chown_uploads=YES
#chown_username=ftp
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
idle_session_timeout=600
data_connection_timeout=120
#nopriv_user=ftpsecure
#async_abor_enable=YES
#ascii_upload_enable=YES
#ascii_download_enable=YES
ftpd_banner=Welcome to the wingo FTP service.
#deny_email_enable=YES
#banned_email_file=/etc/vsftpd.banned_emails
#chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
#ls_recurse_enable=YES
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key

max_clients=50
max_per_ip=20

tcp_wrappers=YES

anon_other_write_enable=YES
《解決方案》

這個匿名FTP目標的許可權我已經設置成drwxrwxrwx了!但是上傳到它裡面的文件只是-rwx------
《解決方案》

anon_umask來設置匿名用戶的上傳文件的許可權.

[火星人 ] 關於VSFTPD的一個匿名用戶不能下載的問題!已經有550次圍觀

http://coctec.com/docs/service/show-post-24523.html