Hello, I have installed OpenLIteSpeed from the Amazon AWS Marketplace and not just once a few times as I messed up the permissions trying to fix them so restarted a few times.
The summary of it is Wordpress functions well but if I connect via SFTP with username "ubuntu" as required, then uploading, deleting or moving files all results in "permission denied".
I used Filezilla with the username "ubuntu" with key file.
So on the forums I found this for ubuntu:
This worked, it solved my problem but after that when you try upload anyting in Wordpress plugins or like enabled disable LS Cache it cannot write to the .htaccess/wp-config.ph as the permisisions now shifted and upload plugin/install requests FTP details so this is also not a solution.
please let me know how to fix this as I have the same problem on GCP and have a couple of sites running there with now way to SFTP in with the ability to upload/edit/delete files.
Thank you in advance.
The summary of it is Wordpress functions well but if I connect via SFTP with username "ubuntu" as required, then uploading, deleting or moving files all results in "permission denied".
I used Filezilla with the username "ubuntu" with key file.
So on the forums I found this for ubuntu:
Code:
sudo chown -R ubuntu:ubuntu /var/www/html
sudo chmod -R 755 /var/www/html
please let me know how to fix this as I have the same problem on GCP and have a couple of sites running there with now way to SFTP in with the ability to upload/edit/delete files.
Thank you in advance.