> 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:
>
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 ch