|
From: | Geoff Clare |
Subject: | [bug #19605] find does not report symlink loop when trying to follow symlinks |
Date: | Mon, 16 Apr 2007 10:25:27 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.0.11) Gecko/20070312 Firefox/1.5.0.11 |
URL: <http://savannah.gnu.org/bugs/?19605> Summary: find does not report symlink loop when trying to follow symlinks Project: findutils Submitted by: geoffclare Submitted on: Monday 16/04/07 at 10:25 Category: find Severity: 3 - Normal Item Group: Wrong result Status: None Privacy: Public Assigned to: None Originator Name: Geoff Clare Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.3.3 Fixed Release: None _______________________________________________________ Details: This is effectively the same problem as bug 11148 (fixed long ago) but now in the fts version of the code. $ ln -s a b $ ln -s b a $ find --version GNU find version 4.3.3 Built using GNU gnulib version 2007-04-14 Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS(FTS_CWDFD) CBO(level=0) $ find -L a a It should report an error when it gets ELOOP, as with the non-fts version of find: $ find-4.2.28 -L a find-4.2.28: a: Too many levels of symbolic links The original fts code also did not have the problem. It has come in since the last time I tried the fts version (from CVS in August 2005). _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?19605> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |