Recently I had a client who had their website transferred to AWS Amazon Lightsail.

It ran well but there was a permissions issue which meant wordpress couldn’t upload files or update plugins.

I am not a developer and found it hard to find the right commands to solve this. In the end I used the code further below in the SSH connect through the AWS console.

It worked for me. Make sure you take a snapshot or backup first though

sudo chown -R bitnami:daemon /opt/bitnami/apps/wordpress/htdocs
sudo find /opt/bitnami/apps/wordpress/htdocs -type d -exec chmod 0775 {} \;
sudo find /opt/bitnami/apps/wordpress/htdocs -type f -exec chmod 0664 {} \;

upload folder is not writable. export and file upload features will not be functional The above error was from Gravity Forms.

Answer found here:

Caleb O'Loan

Author Caleb O'Loan

More posts by Caleb O'Loan