Created
April 20, 2023 03:04
-
-
Save mgmgpyaesonewin/e8e18c3eca6af2f06ec39aeabea04678 to your computer and use it in GitHub Desktop.
The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run the following to solve the The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied | |
sudo chown -R $USER:www-data storage | |
sudo chown -R $USER:www-data bootstrap/cache | |
chmod -R 775 storage | |
chmod -R 775 bootstrap/cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment