Debian Bug report logs - #582717
findutils: find -execdir doesn't change to directory containing match

version graph

Package: findutils; Maintainer for findutils is Andreas Metzler <ametzler@debian.org>; Source for findutils is src:findutils (PTS, buildd, popcon).

Reported by: Raja R Harinath <harinath@hurrynot.org>

Date: Sun, 23 May 2010 02:12:02 UTC

Severity: important

Tags: fixed-upstream

Found in version findutils/4.5.9-1

Fixed in version findutils/4.5.10-1

Done: Andreas Metzler <ametzler@debian.org>

Bug is archived. No further changes may be made.

Forwarded to http://savannah.gnu.org/bugs/?29949

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Andreas Metzler <ametzler@debian.org>:
Bug#582717; Package findutils. (Sun, 23 May 2010 02:12:05 GMT) (full text, mbox, link).


Acknowledgement sent to Raja R Harinath <harinath@hurrynot.org>:
New Bug report received and forwarded. Copy sent to Andreas Metzler <ametzler@debian.org>. (Sun, 23 May 2010 02:12:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Raja R Harinath <harinath@hurrynot.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: findutils: find -execdir doesn't change to directory containing match
Date: Sun, 23 May 2010 07:32:20 +0530
Package: findutils
Version: 4.5.9-1
Severity: important


Running the following fragment

  d=$(mktemp -d); mkdir -p $d/{foo,bar,baz}/bug; find $d -type d -name bug -print -execdir pwd \;

at a command prompt gives me:

/tmp/tmp.UqsljYxydZ/bar/bug
/tmp/tmp.UqsljYxydZ/bar
/tmp/tmp.UqsljYxydZ/baz/bug
/tmp/tmp.UqsljYxydZ/bar
/tmp/tmp.UqsljYxydZ/foo/bug
/tmp/tmp.UqsljYxydZ/bar

The expected output, which is correctly obtained with version 4.4.2-1 from testing is something like:

/tmp/tmp.5nfIU7cjDH/bar/bug
/tmp/tmp.5nfIU7cjDH/bar
/tmp/tmp.5nfIU7cjDH/baz/bug
/tmp/tmp.5nfIU7cjDH/baz
/tmp/tmp.5nfIU7cjDH/foo/bug
/tmp/tmp.5nfIU7cjDH/foo


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages findutils depends on:
ii  dpkg                      1.15.7.2       Debian package management system
ii  install-info              4.13a.dfsg.1-5 Manage installed documentation in 
ii  libc6                     2.11-0exp7     Embedded GNU C Library: Shared lib
ii  libselinux1               2.0.94-1       SELinux runtime shared libraries

findutils recommends no packages.

Versions of packages findutils suggests:
ii  locate                        4.5.9-1    maintain and query an index of a d

-- no debconf information




Set Bug forwarded-to-address to 'http://savannah.gnu.org/bugs/?29949'. Request was from Andreas Metzler <ametzler@downhill.at.eu.org> to control@bugs.debian.org. (Sun, 23 May 2010 16:06:03 GMT) (full text, mbox, link).


Added tag(s) fixed-upstream. Request was from James Youngman <jay@gnu.org> to control@bugs.debian.org. (Sat, 02 Apr 2011 21:42:02 GMT) (full text, mbox, link).


Reply sent to Andreas Metzler <ametzler@debian.org>:
You have taken responsibility. (Sat, 14 May 2011 14:51:09 GMT) (full text, mbox, link).


Notification sent to Raja R Harinath <harinath@hurrynot.org>:
Bug acknowledged by developer. (Sat, 14 May 2011 14:51:09 GMT) (full text, mbox, link).


Message #14 received at 582717-close@bugs.debian.org (full text, mbox, reply):

From: Andreas Metzler <ametzler@debian.org>
To: 582717-close@bugs.debian.org
Subject: Bug#582717: fixed in findutils 4.5.10-1
Date: Sat, 14 May 2011 14:48:55 +0000
Source: findutils
Source-Version: 4.5.10-1

We believe that the bug you reported is fixed in the latest version of
findutils, which is due to be installed in the Debian FTP archive:

findutils_4.5.10-1.debian.tar.gz
  to main/f/findutils/findutils_4.5.10-1.debian.tar.gz
findutils_4.5.10-1.dsc
  to main/f/findutils/findutils_4.5.10-1.dsc
findutils_4.5.10-1_i386.deb
  to main/f/findutils/findutils_4.5.10-1_i386.deb
findutils_4.5.10.orig.tar.gz
  to main/f/findutils/findutils_4.5.10.orig.tar.gz
locate_4.5.10-1_i386.deb
  to main/f/findutils/locate_4.5.10-1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 582717@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Metzler <ametzler@debian.org> (supplier of updated findutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.8
Date: Sat, 14 May 2011 16:10:05 +0200
Source: findutils
Binary: findutils locate
Architecture: source i386
Version: 4.5.10-1
Distribution: experimental
Urgency: low
Maintainer: Andreas Metzler <ametzler@debian.org>
Changed-By: Andreas Metzler <ametzler@debian.org>
Description: 
 findutils  - utilities for finding files--find, xargs
 locate     - maintain and query an index of a directory tree
Closes: 582717
Changes: 
 findutils (4.5.10-1) experimental; urgency=low
 .
   * New upstream version.
     + find -execdir changes directory correctly again. (This broke in 4.5.9)
       Closes: #582717
     + Drop 10_testsuiteonbsd.diff, applied upstream.
   * Break instead of conflicting with slocate.
   * [lintian] Point to versioned copy of GPL in debian/copyright.
Checksums-Sha1: 
 6b768b960bc9b7f1833436410a7eda7d4bd3c061 1326 findutils_4.5.10-1.dsc
 e984c8795cb495623ff50ee319c8c0d8843d9bc2 2745375 findutils_4.5.10.orig.tar.gz
 5955b4e7d0b2d14faf0313e757a3ace9543ac090 21816 findutils_4.5.10-1.debian.tar.gz
 b2184626721c220133e94a17d2b12f53d3a14452 713588 findutils_4.5.10-1_i386.deb
 c18feda9d8856eb9eb1d7a826bd62227a950b3b7 182936 locate_4.5.10-1_i386.deb
Checksums-Sha256: 
 3c80187a5a445ab351f5519ca948cf0dfaf57747248dfbeabb406543cbe496d4 1326 findutils_4.5.10-1.dsc
 fe24bbce55ac8f136080e01c03e7ae8b5ab395550625c25860efcbbe0641af76 2745375 findutils_4.5.10.orig.tar.gz
 02032ff5d8732265f09efc881a87f7e70e13ea1efde320bf294021208b813fd6 21816 findutils_4.5.10-1.debian.tar.gz
 6ac1e2b1c6fcf84443e5cf1a3559f96d7f7c8156feedcc6ac0d0c7cd98b62ba4 713588 findutils_4.5.10-1_i386.deb
 743c59fb4458310a86db2adbcf22a0f23db0d84f9cebe79cdc096e5edd528f3c 182936 locate_4.5.10-1_i386.deb
Files: 
 423154cd87da352c1ee1e8f1144b977b 1326 utils required findutils_4.5.10-1.dsc
 06bd1e0c0026e134c591c07de83dd94b 2745375 utils required findutils_4.5.10.orig.tar.gz
 4a0ab0ad49ae22f131efc226e2102c9e 21816 utils required findutils_4.5.10-1.debian.tar.gz
 0e8d33c9a61a6074ce746653311eec1d 713588 utils required findutils_4.5.10-1_i386.deb
 861fec8f3647bfed9aee96d831626134 182936 utils optional locate_4.5.10-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEAREDAAYFAk3OjrUACgkQHTOcZYuNdmMZkwCfRuuwOC8ENQ4EfeDpeolEcK8k
opQAn1qZFMaCi9zPVgD2isvWcae++48s
=JLBm
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 12 Jun 2011 07:34:09 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Dec 23 16:35:29 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.