time
since I've had this 'issue' but if I remember correctly, it's a
function
you
got in. It basically treats symlinks as real directories, not
pointers.
This can be very useful but it can also be annoying. I'll bet if you
use
tcsh, which uses a more literal interpretation of the
file-structure, it
would work as you expect. I wasn't ever interested in it enough to
see
if it could be disabled in bash.
I believe the proper option is -P as in "set -P" in bash to disable
this
feature (IMHO very useful).
Indeed --
-P If set, the shell does not follow symbolic links when executing commands such as cd that change the current working directory. It uses the physical directory structure instead. By default, bash follows the logical chain of directories when performing commands which change the current directory.
-- Marc