> How do I recursively SGID a directory tree, but only hitting the
> dirs, not the files?
>
> In other words, I want:
>
> chmod -R g+s dir/
>
> But no files SGID, just the subdirectories?
>
> Can I use the "X" permission somehow? I never understood it..
>
> Or should I do something like:
>
> find dir/ -type d -exec chmod -R g+s '{}' \;
or
chmod g+x $(find dir/ -type d >
which will invoke chmod once only
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list