Solution for "Response: 500 OOPS: cannotchangedirectory" in vsftpd
Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
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.
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to email@example.com. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
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:
and provide relevant evidence. A staff member will contact you within 5 working days.