Laravel on ElasticBeanstalk 'log file permission denied' error keeps coming up even the permission is set in the .ebextensions config file
问题 I am deploying my Laravel application to the ElasticBeanstalk environment. But I am having issue with laravel.log file permissions. I deployed my application using "eb deploy" command. After I deployed, I access my application. But it is throwing the following error. The stream or file "/var/app/current/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied To solve the issue, I ssh into the server and run the following command. sudo -u root chmod 777 -R /var