[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-follow problem in 4.2.18

From: DervishD
Subject: -follow problem in 4.2.18
Date: Mon, 14 Mar 2005 11:25:36 +0100
User-agent: Mutt/

    Hi all :)

    Try this with find 4.2.18:

    $ ln -s /tmp example
    $ find example -follow
    find: example: Too many levels of symbolic links.

    This problem seems to be related to the 'O_FOLLOW' flag in 'open'
(open returns ELOOP). I don't know if the problem is related with my
libc (2.2.4) or findutils, but anyway a way of disabling the use of
O_FOLLOW should be provided, because it breaks 'make dep' in the
Linux kernel building. I've tried adding '#undef O_NOFOLLOW' at the
appropriate place in 'find.c' and it works seamlessly.

    If you need more details, strace outputs, logs or whatever just
tell. If it is a problem of my libc please tell, because right now I
cannot upgrade it.

    Thanks a lot in advance :)

    Raúl Núñez de Arenas Coronado

Linux Registered User 88736
http://www.dervishd.net & http://www.pleyades.net/
It's my PC and I'll cry if I want to...

reply via email to

[Prev in Thread] Current Thread [Next in Thread]