[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#8736: chmod -p --parents
From: |
Bob Proulx |
Subject: |
Re: bug#8736: chmod -p --parents |
Date: |
Thu, 23 Feb 2012 15:12:52 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Jim Meyering wrote:
> Here's a little bash/zsh script that does it:
Much of the time find can do this nicely. Of course this may do more
than the posted script but often the difference isn't important in the
provided context of creating new directories and installing new files
into those new directories.
find somedir -exec chmod g+w {} +
I know that Jim is very much aware of this but I decided to say it
out loud anyway since this is quite a bit simpler than the script.
Bob