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 '{}' \;



-- 
Mike A. Harris                                     Linux advocate     
Computer Consultant                                  GNU advocate  
Capslock Consulting                          Open Source advocate

       Try out Red Hat Linux today:  http://www.redhat.com
           ftp://ftp.redhat.com/pub/redhat/redhat-6.2/




_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to