You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have pulled the repository, run docker-compose up -d and docker run -it --rm \ ... composer create-project laravel/laravel application to create a new Laravel app.
When I try to access the laravel app through http://localhost:8888 I get this error on screen The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied
To fix this I've run sudo chown -R 33 ./applciation as per your video for file permissions, but the problem is that whenever I generate a new file through artisan and try to edit it I get a popup window that prompts me to type my sudo password in order to save it. So in this case I have to run these commands again and again whenever I use artisan
Hi, I have pulled the repository, run
docker-compose up -d
anddocker run -it --rm \ ... composer create-project laravel/laravel
application to create a new Laravel app.When I try to access the laravel app through http://localhost:8888 I get this error on screen
The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied
To fix this I've run
sudo chown -R 33 ./applciation
as per your video for file permissions, but the problem is that whenever I generate a new file through artisan and try to edit it I get a popup window that prompts me to type my sudo password in order to save it. So in this case I have to run these commands again and again whenever I use artisansudo chown -R my-user ./application
sudo chgrp -R my-user ./application
sudo chown -R 33 ./application/storage
Is there a more efficient way of doing this?
The text was updated successfully, but these errors were encountered: