Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Resets permissions of a directory to have guid set on directories and everything group writable (recursively)
find . -type d -exec chmod u=rwx,g=rwxs,o=rx {} \;
find . -type f -exec chmod g-s {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment