Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 57567 - find <path> -follow -type l never finds anything
find <path> -follow -type l never finds anything
Product: Red Hat Linux
Classification: Retired
Component: findutils (Show other bugs)
i386 Linux
low Severity low
: ---
: ---
Assigned To: Tim Waugh
Aaron Brown
Depends On:
  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:
Last Closed: 2001-12-15 22:59:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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:

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

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.