Question

553 Could not create file on centos 7

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,


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.