[wellylug] permissions munted

David Antliff david.antliff at gmail.com
Fri Jul 31 12:58:37 NZST 2009


On Fri, Jul 31, 2009 at 08:47, Cliff Pratt<enkidu at cliffp.com> wrote:
> find /path/to/base -type d -exec chmod 755 '{}' \;

Much to my surprise, I discovered a few weeks ago that -exec is
deprecated. Apparently one should use -execdir instead (see manpage
for details).

I can't remember exactly what I was doing at the time, but I found
this out when -exec started behaving in a non-familiar way. I do
recall I was quite puzzled.

-- David.



More information about the wellylug mailing list