# Set group sticky bit to all directories from cwd onwards: find . -type d -exec chmod g+s {} \; # Remove group write permission from files: find . -type f -exec chmod g-w {} \;