I’ve probably posted this before, I’m always forgetting how to chmod against only folders (directories):
find . -type d -print0 | xargs -0 chmod g+s
Using the 0 character delimiter fixes newline and ending-with-space corner cases; that’s something new, would have saved me some trouble last time.