In vsftpd, the solution "Response: 500 OOPS: cannot change directory" appears. The Linux release version used by the author is centos6.4. When the FTP client is connected, the following error message is displayed: Response: 500 OOPS: cannot change directory:/home/liangwodeError: Critical errorError: cocould not connect to server Cause Analysis: Enter the following command on the terminal: [root @ liangwode log] # sestatus-B | grep has been released when offftp_home_dir offftpd_connect_db has offhttpd_enable_ftp_server offtftp_anon_write off. Note that ftp_home_dir is off, that is to say, users are not allowed to log on to the/home/* (* indicates the corresponding user) Directory through FTP. To solve this problem, we can use the following methods: [root @ liangwode log] # setsebool ftp_home_dir on enter the above command to enable the ftp_home_dir function. Check the status again: [root @ liangwode log] # sestatus-B | grep too many logs when offftp_home_dir onftpd_connect_db when offhttpd_enable_ftp_server offtftp_anon_write off is enabled, and then the FTP client can log on normally.