Troubleshooting Linux under Vsftp 553 could not create file error method

Source: Internet
Author: User


After using the FTP software login to solve the issue of Oops:cannot change directory:/home/

Login again this error prompts: 553 could not create file

SELinux settings are as follows

View SELinux Settings
[Root@localhost ~]# getsebool-a|grep FTP
Allow_ftpd_anon_write–> off
Allow_ftpd_full_access–> off
Allow_ftpd_use_cifs–> off
Allow_ftpd_use_nfs–> off
Ftp_home_dir–> on
Ftpd_connect_db–> off
Ftpd_use_passive_mode–> off
Httpd_enable_ftp_server–> off
Tftp_anon_write–> off

The workaround is to set the allow_ftpd_full_access on state.

[Root@localhost ~]# Setsebool allow_ftpd_full_access on

View SELinux Settings
[Root@localhost ~]# getsebool-a|grep FTP
Allow_ftpd_anon_write–> off
Allow_ftpd_full_access–> on
Allow_ftpd_use_cifs–> off
Allow_ftpd_use_nfs–> off
Ftp_home_dir–> on
Ftpd_connect_db–> off
Ftpd_use_passive_mode–> off
Httpd_enable_ftp_server–> off
Tftp_anon_write–> off

Restart VSFTPD service, test can log in
[root@localhost ~]# 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.