Skip to content

Instantly share code, notes, and snippets.

@jyhsu2000
Last active May 12, 2020 15:45
Show Gist options
  • Save jyhsu2000/50962be377ea10a440e4 to your computer and use it in GitHub Desktop.
Save jyhsu2000/50962be377ea10a440e4 to your computer and use it in GitHub Desktop.
chmod all directories except files (recursively)
find . -type d -exec chmod g+s {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment