I just marked this as affecting me as well. However, I had to add one other step to reproduce the bug using the instructions above. As the bug title says, the problem only happens when the working directory (not necessarily the one on which find is being run) is unreadable or not executable by the current user. So, I had to add "chmod u-r ./2" before the line "cd 2". The find command then fails with
find: pred.c:1932: launch: Assertion `starting_desc >= 0' failed. Aborted (core dumped) As a real-world example of this bug, this can happen when you are logged-in as root, and in /root and "su" to another user. You are therefore left in /root but without having read/execute permissions to it. find with -exec therefore fails, even if you are searching another directory. This came up while using Puppet, which included a 'find' command. Of course, switching to another directory solved the problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1347788 Title: find crashed when current working directory is not readable and -exec or -execdir used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/1347788/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
