Re: chmod problem..

2000-08-24 Thread John Summerfield
> 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: >

chmod problem..

2000-08-23 Thread Mike A. Harris
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