Re: PATCH: smart symlink loop detection.

Riley Williams (rhw@bigfoot.com)
Tue, 14 Apr 1998 23:01:58 +0100 (BST)


Hi Scott, Linus.

> I will attempt to implement this to find out exactly how hairy it would be
> and post the patch when I am done. Is there any linux-kernel consensus on
> whether the hybrid approach of my first patch is useful irregardless of
> the status of this second?

> [and can the person who reported the 'bind' distribution problems
> elaborate on the directory structure employed so that we can tell whether
> the hybrid approach does fix that buglet?]

My understanding was that the problem with bind is that it has
symlinks nested to 7 or 8 levels deep, which Linux declares to be a
loop, but I could be wrong on this.

However, what I have found myself doing was creating multiple symlinks
in the same directory, all pointing at the directory they're in, so as
to satisfy HTML mapping requirements when I've pulled some pages of
the web that I need to edit, and the fact that the limit is only five
symlinks has on occasion frustrated this attempt as well.

For this reason, I'd like to ask that the limit be raised to at least
15 even if no other changes are made here. I for one have never needed
more than 15 depths of symlinks, and it should be a trivial task to
calculate the extra stack space needed for the extra ten permitted
symlinks...

Best wishes from Riley.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu