Skip to content

Instantly share code, notes, and snippets.

@vyshane
Created October 3, 2015 12:11
Show Gist options
  • Save vyshane/e77b44ab9d0d20dca642 to your computer and use it in GitHub Desktop.
Save vyshane/e77b44ab9d0d20dca642 to your computer and use it in GitHub Desktop.
Recursively set permissions for directories to 755 and files to 644
chmod -R u+rwX,go+rX,go-w /path/to/dir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment