Hi,

the usual approach to change recursively the SGID bits of directories only 
seems to be:

find -type d -print0 | xargs -0 -r chmod g+s

to avoid that files will it get assigned too. Was there ever the idea to have a 
shortcut for it like:

chmod -R g+S    (set SGID bit for directories only)
chmod -D g+s    (--dir-recursive do it recursively like -R, but work on 
directories only)

-- Reuti

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to