Problem with symlinks and shell

From: Andreas Paulsen (awpauls_at_yahoo.com)
Date: 12/16/04


Date: 16 Dec 2004 01:08:09 -0800

Say that I have a dir with a subdir and I make a symlink to the
subdir:
majestix~andreasp> ls -l link
lrwxrwxrwx 1 andreasp geomatic 10 Dec 15 16:51 link ->
dir/subdir
Now I follow the link:
majestix~andreasp> cd link

Now the strange thing happen if I try to go back and forward:
majestix~andreasp> ls ../link
ls: ../link: No such file or directory

This works on SGI and SUN.
The shell I am using is tcsh, but I have laso tried bsh and csh and
found the same problem.
I have also tried setting symlink to chase, expand and ignore without
any success.

Thanks in advance for any answers!
Andreas W. Paulsen



Relevant Pages