Originally posted by wapcaplet
From what I can tell by some quick googling, there is a limit on link depth (I believe enforced by the filesystem) to prevent possible infinite-recursion problems. A pathological example:
ln -s a b
ln -s b a
You'd have an infinite loop when trying to do something with either file (since they each link to the other). The limit is probably adjustable, but my advice, if you want all the links to end up in the top-level directory, is just to make links directly to the top level.
I guess it's fairly easy to write a script to make them all point to the corresponding number of '..' up to the top level, but it is so much easier to just make it point to the one above.
I understand your explanation, but such a small limit seems very restrictive if the intention is to detect an infinite number of links....I feel like I would want to adjust it anyway.