find -execdir command executed in wrong directory

Eric Blake
Wed Dec 6 04:21:00 GMT 2006

David Rothenberger <daveroth <at>> writes:

> "find -execdir" seems to be executing the command in the wrong
> directory. If the file is in /tmp/a/b/c, the command is executed with
> the current directory /tmp/a/b instead of /tmp/a/b/c. oldfind does the
> right thing.

Thanks for the report. I'm forwarding it upstream, and hopefully a patch will 
be available soon.  The bug only affects the "-execdir {} +" version (you can 
still use the less efficient "-execdir {} \;").

Eric Blake
volunteer cygwin findutils maintainer

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list