vsftp 500 OOPS: cannot change directory:/home/

登陆ftp时再输入用户名和密码出现:500 OOPS: cannot change directory:/home/**********

解决方法:在终端输入 setsebool ftpd_disable_trans 1 然后重启vsftp服务 service vsftpd restart 如果输入上述命令时出现:Could not change active booleans: Invalid boolean 是因为SELinux的问题接着在终端输入:setsebool ftp_home_dir=1 重启vsftp服务即可解决问题

原文地址:https://www.cnblogs.com/acpp/p/1666649.html