I don't know if this is standard behavior or not, but I'm guessing it is, since it's way too obvious to have been overlooked. I have web content stored in a directory (~/public_html/images/), and I reuse this same content in several different sites served off of the same server (served from ~/html/dir1, ~/html/dir2, etc.). So, in each site, I created a symlink to the directory (~/html/dir1/images --> ~/public_html/images).
So now, I go to ~/html/dev/images/:
Code:
cd ~/html/dev/images/
Now, if I try to go back to ~/html/dev/ from there:
it works just fine. However, from ~/html/dev/images/, if I
it winds up in ~/public_html/, not ~/html/dev/! Is there a way to change this behavior? If not, can someone at least explain the rationale behind it?