Created
October 28, 2021 05:48
-
-
Save taist24/a3678d3dbdd44482f93484867b02b008 to your computer and use it in GitHub Desktop.
Laravel App Correct 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 APP_PATH | |
sudo usermod -a -G www-data ubuntu | |
sudo find APP_PATH -type f -exec chmod 644 {} \; | |
sudo find APP_PATH -type d -exec chmod 755 {} \; | |
sudo chgrp -R www-data APP_PATH/storage APP_PATH/bootstrap/cache | |
sudo chmod -R ug+rwx APP_PATH/storage APP_PATH/bootstrap/cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment