David Hajoglou enscribed thusly:

> Is there a way to run a chmod command and just change the permissions of
> just the directories in a recursive fashion while leaving the files alone?
> I know that I could write a script to do thin, just wondering if there is
> a way to do it with one command line string.

        This would remove all the search permissions for the groups

        find . -type d -exec chmod g-x \{\} \;

        You could even conditionalize it by ownership or anything else
you can test with the find conditionals.

> Thanks
> -hojo

        Mike
-- 
 Michael H. Warfield    |  (770) 985-6132   |  [EMAIL PROTECTED]
  (The Mad Wizard)      |  (770) 925-8248   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!

Reply via email to