Use find to select all subdirectories, and then pass them to chmod. For example, the command find . -type d -exec chmod g+s {} \; enables the sticky group bit in all sub-directories recursively.
find
chmod
find . -type d -exec chmod g+s {} \;
More information about formatting options
Comments
Post new comment