[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #29949] find -execdr does not change working directory

From: Andreas Metzler
Subject: [bug #29949] find -execdr does not change working directory
Date: Sun, 23 May 2010 16:01:10 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/2010033100 Iceweasel/3.0.6 (Debian-3.0.6-3)


                 Summary: find -execdr does not change working directory
                 Project: findutils
            Submitted by: ametzler
            Submitted on: So 23 Mai 2010 18:01:09 CEST
                Category: find
                Severity: 3 - Normal
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Raja R Harinath
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.5.9
           Fixed Release: None




this is http://bugs.debian.org/582717 reported by Raja R Harinath
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:


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


Note how pwd continues to stay at /tmp/.../bar.

I have confirmed the behavior, it also affects oldfind. This is a new bug,
4.5.8 behaves correctly.

cu andreas


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]