Linux vsftp cannot log on to 500 Oops: cannot change Directory Error

Source: Internet
Author: User

Vsftpd is one of the most common FTP servers in Linux. The installation and configuration of vsftpd are very simple.

however, after the installation and configuration are complete, the following error may occur when you log on to the system account using the client:

500 Oops: cannot change directory: /home/username
500 Oops: child died
Connection closed by remote host.

the preceding reason is that the permission is incorrect. Solution:
1) Enter
setsebool ftpd_disable_trans 1
2) on the terminal) restart the vsftpd service
service vsftpd restart
3) if the following error occurs in Step 1:
cocould not change active booleans: Invalid Boolean
the preceding error is caused by SELinux. Enter:
setsebool ftp_home_dir = 1
restart the vsftp service.
service vsftpd restart

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.