laravel - The stream or file "/storage/logs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied

no worries, yea I'm a pretty novice to Linux systems so some commands(even the basic ones like nano/sudo) are foreign to me.

Anyway, I managed to fix it as I was only granting permission to via this command:

sudo chmod -R 775 storage

The fix was to add this:

sudo chmod -R ugo+rw storage


If, the issue exists, try to set all permission rwx;
sudo chmod -R 777 storage


It was fix my issue.

Related Post