Upstream bug: --- bug #44078: Find fails if executed from a directory on which the user has no list permissions and exec is an option used[1] ---
Fix: --- commit 7dc70069a3095a42eadb22b24cb9260c243aff8f Author: James Youngman <[email protected]> Date: Sat Apr 10 17:15:01 2010 +0100 Exec predicates now store which directory they want to run in --- [1] http://savannah.gnu.org/bugs/?44078 [2] http://git.savannah.gnu.org/cgit/findutils.git/commit/?id=34deb851d8 ** Bug watch added: GNU Savannah Bug Tracker #44078 http://savannah.gnu.org/bugs/?44078 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to findutils in Ubuntu. https://bugs.launchpad.net/bugs/1347788 Title: find crashed when current working directory is not readable and -exec or -execdir used Status in findutils package in Ubuntu: Confirmed Bug description: bug is similar to https://savannah.gnu.org/bugs/?15384 but for current directory (when it not readable or not executable) steps to reproduce DIR=`mktemp -d` cd $DIR mkdir -p 1/1 2 cd 2 find $DIR/1 -type d -exec echo {} \; find $DIR/1 -type d -execdir echo {} \; ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: findutils 4.4.2-7 Uname: Linux 3.15.4-031504-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 CurrentDesktop: GNOME Date: Wed Jul 23 20:17:19 2014 Dependencies: gcc-4.9-base 4.9-20140406-0ubuntu1 libc6 2.19-0ubuntu6 libgcc1 1:4.9-20140406-0ubuntu1 multiarch-support 2.19-0ubuntu6 InstallationDate: Installed on 2014-04-24 (89 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417) SourcePackage: findutils UpgradeStatus: No upgrade log present (probably fresh install) --- ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 CurrentDesktop: GNOME Dependencies: gcc-4.9-base 4.9-20140406-0ubuntu1 libc6 2.19-0ubuntu6 libgcc1 1:4.9-20140406-0ubuntu1 multiarch-support 2.19-0ubuntu6 DistroRelease: Ubuntu 14.04 InstallationDate: Installed on 2014-04-24 (89 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417) Package: findutils 4.4.2-7 PackageArchitecture: amd64 Tags: trusty Uname: Linux 3.15.4-031504-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/1347788/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

