Vsftpd appears "Response: 500 OOPS: cannot change directory" SOLUTION

Source: Internet
Author: User
Tags ftp client

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.

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.