[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bugs #11148] find does not report symlink loop when trying to follow sy
From: |
Geoff Clare |
Subject: |
[bugs #11148] find does not report symlink loop when trying to follow symlinks |
Date: |
Sat, 27 Nov 2004 06:47:37 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0 (Debian package 1.0-2) |
This mail is an automated notification from the bugs tracker
of the project: findutils.
/**************************************************************************/
[bugs #11148] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11148>
Project: findutils
Submitted by: Geoff Clare
On: Sat 11/27/2004 at 11:41
Category: find
Severity: 5 - Average
Item Group: None
Resolution: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Status: Open
Release: 4.2.8
Fixed Release: None
Summary: find does not report symlink loop when trying to follow symlinks
Original Submission: In the following situation, find should report an error:
ln -s a b
ln -s b a
find -L a -print
Likewise for -H. Instead, find is doing an lstat() when the stat() fails (with
ELOOP).
The optionl_stat() and optionh_stat() functions need to distinguish been
different stat() errors, and only do the lstat() when appropriate. They should
do the lstat() if stat() failed with ENOENT. It may be appropriate for some
other errors as well (e.g. ENOTDIR), but definitely not for ELOOP.
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11148>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bugs #11148] find does not report symlink loop when trying to follow symlinks,
Geoff Clare <=
- [bugs #11148] find does not report symlink loop when trying to follow symlinks, James Youngman, 2004/11/27
- [bugs #11148] find does not report symlink loop when trying to follow symlinks, James Youngman, 2004/11/27
- [bugs #11148] find does not report symlink loop when trying to follow symlinks, James Youngman, 2004/11/27
- [bugs #11148] find does not report symlink loop when trying to follow symlinks, Geoff Clare, 2004/11/27
- [bugs #11148] find does not report symlink loop when trying to follow symlinks, Geoff Clare, 2004/11/27
- [bugs #11148] find does not report symlink loop when trying to follow symlinks, James Youngman, 2004/11/28
- [bugs #11148] find does not report symlink loop when trying to follow symlinks, Geoff Clare, 2004/11/29