bugfindutils - Bugs: bug #12181, find -H/-L symlink_to_dir reports...


bug #12181: find -H/-L symlink_to_dir reports "Too many levels of symbolic links"

Submitter:  Geoff Clare <geoffclare>
Submitted:  Tue 01 Mar 2005 10:00:32 AM UTC
Category:  find Severity:  3 - Normal
Item Group:  Wrong result Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Geoff Clare Open/Closed:  Closed
Release:  4.2.18 Fixed Release:  4.2.19
* Mandatory Fields

Add a New Comment Rich Markup

Sun 06 Mar 2005 03:55:20 AM UTC, comment #4: 

Thanks. I was hoping for just the fix for this, which I can probably get by doing some diff -u comparisons and making sure I don't grab any other changes.

Eric Sandall <sandalle>
Sun 06 Mar 2005 03:31:59 AM UTC, comment #3: 

To obtain the CVS code, please follow the instructions at http://savannah.gnu.org/cvs/?group=findutils and then read the file "README-CVS".   If you don't want to do that, you can wait for the next release.

Sat 05 Mar 2005 08:25:52 PM UTC, comment #2: 

Can we get a patch attached to this that fixes the problem? I can't find it mentioned in http://savannah.gnu.org/cgi-bin/viewcvs/findutils/findutils/ChangeLog?rev=1.57&content-type=text/vnd.viewcvs-markup nor easily find the fix by browsing the web CVS http://savannah.gnu.org/cgi-bin/viewcvs/findutils/findutils/.

Eric Sandall <sandalle>
Tue 01 Mar 2005 08:26:56 PM UTC, comment #1: 

Fixed in CVS.  The basic problem was that safely_follow_chdir() was ignoring its fourth argument. 
This bug was introduced by me while I was adding code to fix bug# 11879.  Test cases exist in the test suite now to detect any reappearance of this bug.  Unfortunately bug# 11879 is not easily tested in any automated fashion.

James Youngman <jay>
Group administrator
Tue 01 Mar 2005 10:00:32 AM UTC, original submission:  

$ mkdir dir
$ ln -s dir link
$ touch dir/file
$ find -H link
find: link: Too many levels of symbolic links
$ find -L link
find: link: Too many levels of symbolic links

The problem doesn't occur with 4.2.15:

$ find-4.2.15 -H link
$ find-4.2.15 -L link

Geoff Clare <geoffclare>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


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.


Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-03-07 jay Open/ClosedOpen Closed
    Fixed ReleaseNone 4.2.19
2005-03-05 sandalle Carbon-Copy- Added -email is unavailable-
2005-03-01 jay Assigned toNone jay
2005-03-01 jay StatusNone Fixed

Back to the top

Powered by Savane 3.12