[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#8736: chmod -p --parents
From: |
Jim Meyering |
Subject: |
Re: bug#8736: chmod -p --parents |
Date: |
Fri, 24 Feb 2012 09:04:21 +0100 |
Bob Proulx wrote:
> 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.
Good point. Thanks.