Answers for "storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied"

5

storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied

$ chmod -R 775 storage bootstrap/cache
Posted by: Guest on September-07-2020
-1

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

chmod 777 -R storage bootstrap/cache
Posted by: Guest on September-07-2020
-1

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

# setenforce 0
Posted by: Guest on September-07-2020
0

could not be opened in append mode failed to open stream permission denied

Reference link if giving a permission doesn't solved your issue
https://www.digitalocean.com/community/questions/the-stream-or-file-var-www-html-myscipt-storage-logs-laravel-log-could-not-be-opened-failed-to-open-stream-permission-denied
Posted by: Guest on September-07-2020

Code answers related to "storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language