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"

Submitted by:  Geoff Clare <geoffclare>
Submitted on:  Tue 01 Mar 2005 10:00:32 AM UTC  
 
Category: findSeverity: 3 - Normal
Item Group: Wrong resultStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Geoff ClareOpen/Closed: Closed
Release: 4.2.18Fixed Release: 4.2.19

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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.

Anonymous
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>
Project AdministratorIn charge of this item.
Tue 01 Mar 2005 10:00:32 AM UTC, original submission:

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

The problem doesn't occur with 4.2.15:

$ find-4.2.15 -H link
link
link/file
$ find-4.2.15 -L link
link
link/file

Geoff Clare <geoffclare>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 07 Mar 2005 11:54:10 PM UTCjayOpen/ClosedOpen=>Closed
  Fixed ReleaseNone=>4.2.19
Sat 05 Mar 2005 08:26:29 PM UTCsandalleCarbon-Copy-=>Added -unavailable-
Tue 01 Mar 2005 08:26:56 PM UTCjayAssigned toNone=>jay
Tue 01 Mar 2005 08:26:55 PM UTCjayStatusNone=>Fixed

Back to the top


Powered by Savane 3.1-cleanup1