VSFTPD "response:500 oops:cannot Change Directory" workaround the author uses the Linux distribution version of CentOS when connecting with an FTP client, the following error message appears: response:500 OOPS: Cannot change directory:/home/bhtest input command view
[[Email protected]]# sestatus-b| grep FTP
Allow_ftpd_anon_write off
Allow_ftpd_full_access off
Allow_ftpd_use_cifs off
Allow_ftpd_use_nfs off
Ftp_home_dir off
ftpd_connect_db off
Ftpd_use_fusefs off
Ftpd_use_passive_mode off
Httpd_enable_ftp_server off
Tftp_anon_write off
Tftp_use_cifs off
Tftp_use_nfs off
Note that the above ftp_home_dir is in the off state, that is, the current is not allowed to log on to the user via FTP/home/* (* represents the corresponding user) under the directory, we can use the following methods to solve:
[[Email protected]]# setsebool Ftp_home_dir on
[[Email protected]]# sestatus-b| grep FTP
Allow_ftpd_anon_write off
Allow_ftpd_full_access off
Allow_ftpd_use_cifs off
Allow_ftpd_use_nfs off
Ftp_home_dir on
ftpd_connect_db off
Ftpd_use_fusefs off
Ftpd_use_passive_mode off
Httpd_enable_ftp_server off
Tftp_anon_write off
Tftp_use_cifs off
Tftp_use_nfs off
Test login is OK.
VSFTPD "response:500 oops:cannot Change Directory" solution appears (reproduced)