Bug 57567 - find <path> -follow -type l never finds anything
find <path> -follow -type l never finds anything
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: findutils (Show other bugs)
7.1
i386 Linux
low Severity low
: ---
: ---
Assigned To: Tim Waugh
Aaron Brown
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-12-15 22:59 EST by Chris Watt
Modified: 2005-10-31 17:00 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-12-15 22:59:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Chris Watt 2001-12-15 22:59:01 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (Win98; U)

Description of problem:
When set to follow symlinks (-follow) find no longer reports the existance 
of symlinks in it's output. 

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


How reproducible:
Always

Steps to Reproduce:
1.type "find . -type l -follow" in a directory which contains one or more 
symbolic links.
2.
3.
	

Actual Results:  Find produced no output

Expected Results:  Find should list the symlinks, and follow them 
listing any subsequent symlinks encountered.

Additional info:

Find installed from the findutils-4.1.6-2 package as part of Redhat 7.1.
Comment 1 Tim Waugh 2001-12-17 11:23:43 EST
You mean to use '-xtype', not '-type'.  'find -type l -follow' means: find me 
all the symbolic links which, when derefenced to find the (non-symlink) 
target, turn out to point to symlinks.

Of course there are no such files. :-)

In contrast, 'find -xtype l -follow' does what you want.

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