FTP open for write: permission denied
I’m new to linux. I have followed v.helpful on-line tutorials to setup CentosOS 6.5, and I have successfully installed LAMP server, SSH and vsftp.
I have setup a second user with the same privileges as root and I can access the droplet via FTP (with FileZilla) as that new user and successfully download a file *but * I can’t upload any file - whether a new file or an edited version of an existing file. I’ve been trying a simple upload to “/var/www/html” where the owner=root and the group=root.
The error message is:
Error: /var/www/html/index.php: open for write: permission denied
Error: File transfer failed
I’m sure it is something simple; Any assistance gratefully received.
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.×