Bug 208756 - Find command misses certain Files when 1 level deep
Summary: Find command misses certain Files when 1 level deep
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: findutils
Version: 4.4
Hardware: i686
OS: Linux
Target Milestone: ---
: ---
Assignee: Miloslav Trmač
QA Contact: Mike McLean
Depends On:
TreeView+ depends on / blocked
Reported: 2006-10-01 17:50 UTC by Daniel Kunkel
Modified: 2007-11-17 01:14 UTC (History)
0 users

Clone Of:
Last Closed: 2006-10-04 17:17:20 UTC

Attachments (Terms of Use)

Description Daniel Kunkel 2006-10-01 17:50:33 UTC
Description of problem:

Find utility fails to find some files in some situations, specifically when it
is a certain level below the matched file.

Version-Release number of selected component (if applicable):

Centos 4.4

How reproducible:

Happens repeatedly...  only know of this particular example:

[root@A64 Sites]# pwd
[root@A64 Sites]# find . -name Pub*
[root@A64 Sites]# cd ..
[root@A64 ToCopy]# pwd
[root@A64 ToCopy]# find . -name Pub*
[root@A64 ToCopy]# cd ..
[root@A64 repos]# pwd
[root@A64 repos]# find . -name Pub*
[root@A64 repos]#

Steps to Reproduce:
1.  I don't know how to reproduce except in this circumstance.
Actual results:

Missing ./PublicResearchQuestions from 1 level deep

Expected results:

Additional info:

drwxr-xr-x  3 d d    4096 Sep 29 16:25 PublicResearchQuestions

Comment 1 Daniel Kunkel 2006-10-01 17:52:50 UTC
PS. Running on a A64 with dual processors on an ext3 LVM disk.

I'm willing to help solve/test if you can help me setup and compile the find
source code.

Comment 2 Miloslav Trmač 2006-10-04 17:17:20 UTC
Shell command lines undergo pathname expansion before being passed to find(1), so
the second find(1) command is equivalent to
(find . -name PublicDomain)

Note You need to log in before you can comment on or make changes to this bug.