1 ) First you have to check your bitnami folder structure. This different than others. You can check this using FTP or you can connect the SSH and check.
2) For connect FTP or SSH you need to login lightsail account and select your instance. Once you select your instance you can go and click orange “Connect using ssh“.
3) In my scenario my folder structure is : /opt/bitnami/wordpress/
When you have the Terminal window open, you can run following command as per your path
Permission Command One
sudo chown -R bitnami:daemon /bitnami/wordpress/ sudo find /bitnami/wordpress/ -type d -exec chmod 775 {} \; sudo find /bitnami/wordpress/ -type f -exec chmod 664 {} \; sudo chmod 640 /opt/bitnami/wordpress/wp-config.php
Permission Command Two
sudo chown -R bitnami:daemon /opt/bitnami/wordpress/ sudo find /opt/bitnami/wordpress/ -type d -exec chmod 775 {} \; sudo find /opt/bitnami/wordpress/ -type f -exec chmod 664 {} \; sudo chmod 640 /opt/bitnami/wordpress/wp-config.php
Permission for themes/plugin folder
sudo chmod -R 775 /opt/bitnami/wordpress/wp-content/themes
sudo chmod -R 775 /opt/bitnami/wordpress/wp-content/plugins
Jagdish Sarma Changed status to publish December 5, 2024