Skip to content

Instantly share code, notes, and snippets.

@fzldn
Created January 5, 2022 07:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fzldn/85b481cec6de45fa5a26d11f3d65ad93 to your computer and use it in GitHub Desktop.
Save fzldn/85b481cec6de45fa5a26d11f3d65ad93 to your computer and use it in GitHub Desktop.
cd /var/www/html/laravel
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment