Hm, this turns out not to be a bug, but a feature. ;-)

Quoting from findutils' NEWS file:
--------
* Major changes in release 4.2.21
** Functional Changes to find

The GNU extension "find ... -perm +MODE" has been withdrawn because it
is incompatible with POSIX in obscure cases like "find ... -perm ++r".
Use the new syntax "find ... -perm /MODE" instead.  Old usages will
still continue to work, so long as they don't conflict with POSIX.
--------

I'm not sure what "conflicts with POSIX" if you simply use "-perm +x",
though.  This will probably break a LOT of scripts out there.

It's an upstream change that was not very well though-out, IMHO.  Even
*BSD's find supports the -perm +... construct, so why not support it?

The offending change is probably this one:
http://savannah.gnu.org/cgi-bin/viewcvs/findutils/findutils/find/parser.c.diff?r1=1.64&r2=1.65

Attachment: pgpwGXZjfYXX2.pgp
Description: PGP signature

Reply via email to