Subject: Re: Recursive grep (where is limfree defined?)
To: Don Lewis <email@example.com>
From: Luke Mewburn <firstname.lastname@example.org>
Date: 01/25/1996 11:29:35
Don Lewis writes:
> IMHO recursive chmod is worthless. In general I don't want the same
> permission bits on files and directories.
You obviously don't use '+X'. e.g.
chmod -R u+rwX,g+rX .
Here's the reference from the man page for chmod(1):
X The execute/search bits if the file is a directory or any
of the execute/search bits are set in the original (unmodi-
fied) mode. Operations with the perm symbol ``X'' are only
meaningful in conjunction with the op symbol ``+'', and are
ignored in all other cases.