URL:
<http://savannah.gnu.org/bugs/?27563>
Summary: -L breaks -execdir
Project: findutils
Submitted by: ametzler
Submitted on: Mi 30 Sep 2009 19:24:58 CEST
Category: find
Severity: 3 - Normal
Item Group: Wrong result
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.4.2
Fixed Release: None
_______________________________________________________
Details:
Hello,
this based on <http://bugs.debian.org/548944>. If -L is present -execdir does
not work as expected:
ametz...@argenau:/tmp$ mkdir -p findtest/ab/b
ametz...@argenau:/tmp$ cd findtest/
ametz...@argenau:/tmp/findtest$ touch ab/b/yyyy
ametz...@argenau:/tmp/findtest$ find -name yyyy -exec ls {} \;
./ab/b/yyyy
ametz...@argenau:/tmp/findtest$ find -name yyyy -execdir ls {} \;
./yyyy
ametz...@argenau:/tmp/findtest$ find -L -name yyyy -execdir ls {} \;
././ab/b/yyyy
ametz...@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
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27563>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/