Skip to content

Instantly share code, notes, and snippets.

@phpcodertop
Created September 12, 2022 16:54
Show Gist options
  • Save phpcodertop/94e725bfa78aed5ddf5cb6a44342f864 to your computer and use it in GitHub Desktop.
Save phpcodertop/94e725bfa78aed5ddf5cb6a44342f864 to your computer and use it in GitHub Desktop.
Laravel Fix permissions
sudo find /var/www/html -type f -exec chmod 644 {} \;
sudo find /var/www/html -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