open for write: permission denied and file transfer is not possible
- amazon linux
- open for write: permission denied
I can not transfer files using ftp client
I tried to transfer the file to amazon linux set up for ec2 but I could not transfer the file due to an error saying open for write: permission denied. I challenged chmod 777 or something but I could not.
You only need to be able to access ec2 users
chown -R ec2-user /var/www/html
chmod -R 755 /var/www/html