An error occurred while writing the VSftp file in CentOS.

Source: Internet
Author: User
1. this is an inexplicable problem. after the server is restarted, my fanwe system suddenly cannot log on to the background, prompting that the file has no read and write permissions. for details, see fanwe background logon error 2. VSftp also fails to write files and cannot be used. for details, see. Command: MKD/aaa/bbb response: 550 Createdi

1. it is an inexplicable problem. after the server is restarted, my fanwe system suddenly cannot log on to the background, prompting that the file has no read and write permissions. for details, see:

Fanwe background logon error

 

2. VSftp also fails to write the file and cannot be used. for details, see.

Command: MKD/aaa/bbb
550 Create directory operation failed.

Since it was used in the past, there is no problem. after the system is restarted, the file permission cannot be changed to not writable. In addition, the permission to view files using the ls-l command is 777. The final cause is SELINUX.

3. close SELINUX and run the following command:

[Root @ ptr228 ~] #/Usr/sbin/setenforce 0

4. set SELINUX to disable startup.

[Root @ ptr228 ~] # Echo "/usr/sbin/setenforce 0">/etc/rc. local

The world is clean.

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.