Just deployed a radicle theme to the staging server and I’m getting this error:
"There is no existing directory at "/domain.com/site/storage/logs" and it could not be created: Permission denied"
This is wired, as the folder has 0777
The error happens in domain.com/site/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php
Any idea? Thanks
Ok, I found out.
Had to set site folder to 0777.
Is this how it should be?
777
is probably too permissive. How are you deploying your site?
Theres a good bit of existing articles/docs you can reference regarding permissions for both WordPress and Laravel sites
Example: The Right Way to Set Up File Permissions in Laravel – TecAdmin