Skip to content

Instantly share code, notes, and snippets.

@epierpont
Last active July 30, 2021 13:40
Show Gist options
  • Save epierpont/17604d7c1b07dd00eafd551956e5f8a0 to your computer and use it in GitHub Desktop.
Save epierpont/17604d7c1b07dd00eafd551956e5f8a0 to your computer and use it in GitHub Desktop.
Change server file and directory permissions
// used to recursively change files to 664 and directories to 775 from parent level
// dir
find . -type d -exec chmod 775 {} \;
// files
find . -type f -exec chmod 664 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment