解决vsftpd报错:550 Permission denied

vsftpd是为数不多的免费的linux版本FTP服务器,想蹭开源免费,就得想方设法解决它的问题。如题所示,我折腾了一下午,终于完美解决了。解决办法是修改用户的配置文件,如下代码所示:

local_root=/home/ftp/subordinate/user01
write_enable=YES
anon_umask=022
# cmds_denied=PASV,PORT,TYPE
# anon_world_readable_only=NO
# anon_upload_enable=YES
# anon_mkdir_write_enable=YES
# anon_other_write_enable=YES
guest_username=ftp
# nopriv_user=ftp
# pam_service_name=vsftpd
# guest_enable=YES
virtual_use_local_privs=YES
allow_writeable_chroot=YES
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list
# cmds_allowed=PWD,LIST,PORT,TYPE,DELE,CWD
cmds_denied=

Capture.PNG

附加说明,vsftpd.conf的配置节确保如下:

anonymous_enable=NO
local_enable=YES
write_enable=YES
dirmessage_enable=NO
ascii_upload_enable=YES
ascii_download_enable=YES
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list
listen=YES
listen_ipv6=NO
pam_service_name=vsftpd
guest_enable=YES
guest_username=ftp
user_config_dir=/etc/vsftpd/vuser_conf
userlist_enable=NO
tcp_wrappers=YES
# seccomp_sandbox=NO
pasv_enable=YES
pasv_min_port=9001
pasv_max_port=9001
port_enable=YES
# virtual_use_local_privs=YES
# pam_service_name=vsftpd.virtual
# user_sub_token=ftp

你可能感兴趣的:(解决vsftpd报错:550 Permission denied)