Skip to content

Instantly share code, notes, and snippets.

@d9k
Created September 19, 2014 01:08
Show Gist options
  • Save d9k/88ea41f55d22987446a5 to your computer and use it in GitHub Desktop.
Save d9k/88ea41f55d22987446a5 to your computer and use it in GitHub Desktop.
# automatically set user and group in new files on this folder and nested folders.
find `pwd` -type d -exec chmod ug+s '{}' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment