匿名模式登陆服务器vsftpd出现 500 OOPS: vsftpd: refusing to run with writable anonymous root Login failed.

500 OOPS: vsftpd: refusing to run with writable anonymous root
Login failed.
ftp> ls
421 Service not available, remote server has closed connection
Passive mode refused.
ftp>
ftp> ls
Not connected.

排查了好多次,以为是var下ftp文件夹权限太少,直接设置了

chmod 777 /var/ftp

原因和解决办法:ftp目录的权限设置的太多了,也会导致这种情况出现,还原为之前安装时候的权限755

chmod 775 /var/ftp

然后直接访问这回就成功登陆上去了

猜你喜欢

转载自blog.csdn.net/qq_42584411/article/details/104519319