Solution for "Response: 500 OOPS: cannotchangedirectory" in vsftpd
Source: Internet
Author: User
In vsftpd, Response: 500 OOPS: cannotchangedirectory solution: 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: cannotchangedirectory: /home/lia... 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.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.