Report this

What is the reason for this report?

553 Could not create file on centos 7

Posted on December 22, 2014

Hi there, I have setup vsftpd on centos 7. I creates a user by using -d option with along the location /var/www/cuong and successfully connect via ftp. Howere i try upload something to folder /var/www/cuong I get the error message “553 Could not create file.” Please help me Thanks,



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

In this situation the very first thing to do would be to check the permissions on the directory /var/www/cuong you can do this by running ls -lh /var/www

Make sure that the directory is both writeable and owned by your new user.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.