← Back to team overview

touch-packages team mailing list archive

[Bug 1347788] Re: find crashed when current working directory is not readable and -exec or -execdir used

 

I also reviewed the upstream patch that purports to resolve the issue
(7dc7006). This fix is contained within the 4.5.9 and newer versions of
findutils. That's where the good news ends.  The code portion of that
single commit  is 817 lines long.  It doesn't apply cleanly, and it
appears to have some significant dependencies on earlier commits.

Unfortunately backportting the fix into even wily sources is proving
difficult, and may not be acceptable for a stable release. Normally in
this case we would integrate the entire upstream sources into our
development series (xenial), and then pursue package copy into the older
series. However, 4.5.9 and newer is currently part of the findutils
alpha branch, and as such wouldn't be considered acceptable for
inclusion in even our development releases.

That being said fedora, opensuse, and centos all release with 4.5 of
findutils, so we may have to consider doing the same.

-- 
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


References