AWS Laravel Storage Logs Keep Changing Permissions

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

a0c61dca2fdadf6ab60ae88232fe0c3f

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

7ca054f25877cc37767afde7e9f3bd24

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 *