AWS Laravel Storage Logs Keep Changing Permissions

These log files keep having the root user owner permissions which leads to that permissions error message!!!


As I previously worked out to run these commands:

sudo chown -R bitnami:daemon /opt/bitnami/apache2/htdocs/back-end
sudo chmod -R g+rwxs /opt/bitnami/apache2/htdocs/back-end


Then its cool… but does it come back when Laravel creates new logs?!?

Sam Deering is a web developer from England (currently living in Australia). In his spare time he enjoys coding, playing chess, reading and investing.

Leave a Reply

Your email address will not be published. Required fields are marked *