Created
September 25, 2021 13:50
-
-
Save devzom/d4a92eadbccb673b9dbf485c34ac4e35 to your computer and use it in GitHub Desktop.
MacOS BigSur add permission to /var/www folder to use with Laravel symlink
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mac OS Big Sur | |
In my case artisan couldn't access | |
/var/www/{project_name}/storage | |
to create files ex. in /logs folder so I had manually to go to /var and create the structure of folders that Laravel need to make symlink. | |
Add access to folder sudo chgrp -R $USER /var/www/project_name | |
Then I could use php artisan storage:link without any problems. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment