bugfindutils - Bugs: bug #27563, -L breaks -execdir

 
 

bug #27563: -L breaks -execdir

Submitted by:  Andreas Metzler <ametzler>
Submitted on:  Wed 30 Sep 2009 05:24:58 PM UTC  
 
Category:  find Severity:  4 - Important
Item Group:  Wrong result Status:  Fixed
Privacy:  Public Assigned to:  James Youngman <jay>
Originator Name:  Open/Closed:  Closed
Release:  4.4.2 Fixed Release:  4.5.9

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 11 Apr 2010 05:12:20 PM UTC, comment #2:

I've attached a similar patch for 4.4.x.

(file #20195)

James Youngman <jay>
Project AdministratorIn charge of this item.
Sun 11 Apr 2010 04:07:22 PM UTC, comment #1:

I just mailed a patch for 4.5.x to the list.

James Youngman <jay>
Project AdministratorIn charge of this item.
Wed 30 Sep 2009 05:24:58 PM UTC, original submission:

Hello,
this based on <http://bugs.debian.org/548944>. If -L is present -execdir does not work as expected:

ametzler@argenau:/tmp$ mkdir -p findtest/ab/b
ametzler@argenau:/tmp$ cd findtest/
ametzler@argenau:/tmp/findtest$ touch ab/b/yyyy
ametzler@argenau:/tmp/findtest$ find -name yyyy -exec ls {} \;
./ab/b/yyyy
ametzler@argenau:/tmp/findtest$ find -name yyyy -execdir ls {} \;
./yyyy
ametzler@argenau:/tmp/findtest$ find -L -name yyyy -execdir ls {} \;
././ab/b/yyyy
ametzler@argenau:/tmp/findtest$ oldfind -L -name yyyy -execdir ls {} \;
./yyyy

As you can see oldfind (pre-fts) is fine. 4.5.5 behaves the same way as 4.4.2.

thanks, cu andreas

Andreas Metzler <ametzler>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #20195:  0001-Fix-Savannah-bug-27563-L-breaks-execdir.patch added by jay (10KiB - text/x-patch - Patch for 4.4.x.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jay (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-05-11 jay Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.5.9
    2010-04-12 jay StatusCode Review => Fixed
    2010-04-11 jay Attached File- => Added 0001-Fix-Savannah-bug-27563-L-breaks-execdir.patch, #20195
    2010-04-11 jay Severity3 - Normal => 4 - Important
        StatusNone => Code Review
    2009-11-08 jay Assigned toNone => jay
    2009-09-30 ametzler Carbon-CopyRemoved 20807 => -

    Back to the top


    Powered by Savane 3.3