Skip to content

Instantly share code, notes, and snippets.

@Mexidense
Created July 15, 2019 12:09
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 Mexidense/da1aae5a293752b5aed57d3dc4445b99 to your computer and use it in GitHub Desktop.
Save Mexidense/da1aae5a293752b5aed57d3dc4445b99 to your computer and use it in GitHub Desktop.
Laravel file permissions
#from root user
chown -R $USER:www-data storage
chown -R $USER:www-data bootstrap/cache
chmod -R 775 storage
chmod -R 775 bootstrap/cache
@Mexidense
Copy link
Author

sudo chown -R $USER:www-data storage && sudo chown -R $USER:www-data bootstrap/cache && sudo chmod -R 775 storage && sudo chmod -R 775 bootstrap/cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment