Skip to content

Instantly share code, notes, and snippets.

@h4n2k
Created March 3, 2016 15:01
Show Gist options
  • Save h4n2k/c6f6bc88f8e21388c9f8 to your computer and use it in GitHub Desktop.
Save h4n2k/c6f6bc88f8e21388c9f8 to your computer and use it in GitHub Desktop.
apache folder & file permission
Run the following two commands from your WEBSITE root directory,
it will recursively change all directory permission to 755,
and all file permissions to 644:
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