How to solve the problem that Vsftpd cannot upload files
Source: Internet
Author: User
How to solve the problem that Vsftpd cannot upload files-Linux Enterprise Application-Linux server application information. Vsftpd is configured on RedHat 5 today. Everything is okay and users can log on normally. However, when uploading files, the system always prompts:
?? 553 cocould not create file.
?? The error is puzzling. I searched the internet and it turns out to be:
?? The default status of Fedora Core 4 is to enable selinux. In this status, vsftp may encounter a problem where local users cannot upload files (it may be the local user's home directory or the entire directory ), error message:
?? 553 cocould not create file.
??
?? To solve this problem, you only need:
?? 1. setsebool-P ftpd_disable_trans 1
?? 2. service vsftpd restart
?? You can.
??
?? For more information, see man ftpd_selinux.
??
?? I searched a lot on the Internet for this problem and found many of them with the same problem. I have hardly mentioned selinux. I 'd like to write a little bit here for reference.
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