Skip to content

Instantly share code, notes, and snippets.

@cruzer45
Created April 12, 2018 17:43
Show Gist options
  • Save cruzer45/40299b4ff51ee3451000e6b9c8b87095 to your computer and use it in GitHub Desktop.
Save cruzer45/40299b4ff51ee3451000e6b9c8b87095 to your computer and use it in GitHub Desktop.
Correct file and folder permissions for web directory
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment