bugfindutils - Bugs: bug #14376, -follow -type l returns no results...

 
 

bug #14376: -follow -type l returns no results (when it should)

Submitter:  None
Submitted:  Fri 02 Sep 2005 06:14:26 PM UTC
   
 
Category:  documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  jay Originator Name:  Drew Van Zandt
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  4.2.24 Fixed Release:  4.2.25
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Fri 02 Sep 2005 08:53:24 PM UTC, comment #3: 

I have clarified the Texinfo and manpage documentation somewhat, and among other things the description of -type indicates to the reader that if they are interested in findding symbolic links when -L is in effect, they need to use -xtype.

James Youngman <jay>
Group administrator
Fri 02 Sep 2005 06:26:56 PM UTC, comment #2: 

No, that's the correct behaviour.  The -follow option causes find to dereference all symblic links.  That means that the -type test considers "linkfile" to be be a vanilla file, since the link is dereferenced.  If you want to use -follow (or -L) but still check the type of unbroken symbolic links, use the -xtype test.

Did you get an impression different to the above from reading the documentation?   If so, that's a bug in the documentation - please point out the bit of the documentation that needs fixing.

James Youngman <jay>
Group administrator
Fri 02 Sep 2005 06:16:33 PM UTC, comment #1: 

FYI:
# find --version
GNU find version 4.1.20
# uname -a
Linux cam 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 2005 i686 GNU/Linux

Anonymous
Fri 02 Sep 2005 06:14:26 PM UTC, original submission:  

mkdir followtest
touch test/realfile
ln -s test/realfile test/linkfile
find . -type l
find . -follow -type l

Anonymous

 

Attached Files

This item currently has no attached files.

(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

 

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.

 

History

Follow 9 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-09-03 jay Open/ClosedOpen Closed
    ReleaseNone 4.2.24
    Fixed ReleaseNone 4.2.25
2005-09-02 jay Item GroupWrong result None
2005-09-02 jay Categoryfind documentation
    StatusInvalid Fixed
2005-09-02 jay StatusNone Invalid
    Assigned toNone jay
2005-09-02 None Carbon-Copy- Added drew --DOT-- vanzandt --AT-- gmail --DOT-- com

Back to the top

Powered by Savane 3.16-ed84.
Corresponding source code