Question

553 Could not create file on centos 7

Posted December 22, 2014 6.8k 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
Thanks,

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.

×
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.

Submit an Answer