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

 
 

bug #27563: -L breaks -execdir

Submitter:  Andreas Metzler <ametzler>
Submitted:  Wed 30 Sep 2009 05:24:58 PM UTC
   
 
Category:  find Severity:  4 - Important
Priority:  5 - Normal Item Group:  Wrong result
Status:  Fixed Privacy:  Public
Assigned to:  jay Originator Name: 
Open/Closed:  Closed Release:  4.4.2
Fixed Release:  4.5.9
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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>
Group administrator
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>
Group administrator
Wed 30 Sep 2009 05:24:58 PM UTC, original submission:  

Hello,
this based on <http://bugs.d ... an.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>

 

Attached Files

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

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

    History

    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.16-1e6f.
    Corresponding source code