laravel / sail

Docker files for running a basic Laravel application.
https://laravel.com/docs/sail
MIT License
1.68k stars 476 forks source link

Fix permission for storage directory #691

Closed ModulesSoft closed 5 months ago

ModulesSoft commented 5 months ago

This pull request resolves the issue of Laravel's storage directory permissions for the user group, fixing the error where the log file (/var/www/html/storage/logs/laravel.log) could not be opened in append mode due to permission denial, by adding ugo+rw permission to the storage directory of Laravel.

This fix does not break any existing features as it specifically targets the permission settings within the storage directory, ensuring that necessary write operations can be performed without affecting the functionality of other features or components within the Laravel application.

Thanks.

driesvints commented 5 months ago

Seems this conflicts and has a bad commit history.

ModulesSoft commented 5 months ago

Thanks for the feedback. Should I make a new commit for each file instead?