<title>FTP linux-500 oops problem Solving-jooyong-chinaunix Blog</title> Just solved 530 of the problem, and came to a linux-500 oops:cannot change directory:/root, what is the reason, the Internet to check a bit, the main reason is that the system enabled SELinux settings. When the system is installed, the default selinux is set to mandatory if you have not modified it. Troubleshooting:? Check selinux settings, go to System-admin-security level and firewall, and sure enough selinux is set to mandatory. How to solve this problem? Method 1:?????? Set the SELinux setting to "disabled" directly;????? Restart VSFTPD:? Service vsftpd Restart? Method 2:????? Keep SELinux set to force or enable
????? View the status of SELinux:? Sestatus-b | grep FTP????? To be exact, just look at the status of the FTP.
????? You can see??? in the results that appear Ftp_home_dir??????? Off
??????????????????????????????? Tftpd_disable_trans?? Off????? You need to set the value of the above 2 states to off and one of them to on.
?????? Execute command:?????????????? Setsebool-p Ftpd_disable_trans on????? ????????? or setsebool-p? Ftp_home_dir? On
????? Restart VSFTPD:? Service VSFTPD Restart
From for notes (Wiz)
FTP linux-500 oops problem Solving-jooyong-chinaunix Blog