DEV Community

Discussion on: The beauty of Docker for local Laravel development

Collapse
 
georstoy profile image
Stoyan Georgiev

Hi, Andrew!
From the positivity of the other comments, I understand that your guide works fine for others.
Yet I am getting this permission issue when I visit my localhost:

The stream or file "/var/www/storage/logs/laravel-2019-08-30.log" could not be opened: failed to open stream: Permission denied

thepracticaldev.s3.amazonaws.com/i...

I'm still learning and this got me confused.
Can you tell me what user:group and privileges to give to my project folder?

Collapse
 
francoislp profile image
François • Edited

Hello Stoyan,

Have a look at Laravel permissions related to /storage directory (which contains logs) and /bootstrap/cache directory.
You will find plenty of documentation/stack overflows issues about it. :)

Edit :
laravel.com/docs/6.x/installation#...