553 Could not create file on centos 7

December 22, 2014 6.3k views

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

1 Answer

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.

Have another answer? Share your knowledge.

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