Created
January 8, 2019 22:13
-
-
Save malkafly/026c01611dbe2599127ed6a226592bfa to your computer and use it in GitHub Desktop.
Laravel Directory Permissions
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
sudo chown -R www-data:www-data . | |
sudo usermod -a -G www-data admin | |
sudo find . -type f -exec chmod 644 {} \; | |
sudo find . -type d -exec chmod 755 {} \; | |
sudo chgrp -R www-data storage bootstrap/cache | |
sudo chmod -R ug+rwx storage bootstrap/cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment