Skip to content

Instantly share code, notes, and snippets.

@mttjohnson
Created October 26, 2016 04:20
Show Gist options
  • Select an option

  • Save mttjohnson/16ad88c048d6b82da74ea6caf2494617 to your computer and use it in GitHub Desktop.

Select an option

Save mttjohnson/16ad88c048d6b82da74ea6caf2494617 to your computer and use it in GitHub Desktop.
change file and directory permissions
change file permissions
find /path/to/base/dir -type d -exec chmod 0755 {} +
find /path/to/base/dir -type f -exec chmod 0644 {} +
find . -type d -exec chmod 0777 {} +
find . -type f -exec chmod 0666 {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment