Forked from AkshatJen/gist:593f35862129133021ee08cb9e379290
Created
April 9, 2022 03:03
-
-
Save malkafly/2c7f67c4551de5d8c4573e39f2302c43 to your computer and use it in GitHub Desktop.
Revisions
-
AkshatJen created this gist
May 24, 2021 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ cd /var/www/my_website_serving_dir sudo chown -R $USER:www-data . sudo find . -type f -exec chmod 664 {} \; sudo find . -type d -exec chmod 775 {} \; sudo chgrp -R www-data storage bootstrap/cache sudo chmod -R ug+rwx storage bootstrap/cache