Actually, '..' is the parent directory. If you cd to a symlink (like in
my example above, 'cd test') you are put into a real directory, that
happened to be symlinked. The '..' entry in this direcftory points to
the *real* parent directory. It is not 'ls', 'mv', 'cp', etc that are
misbehaving, it is actually the implementatin of 'cd' under bash that is
going out of the correct behaviour.

Although I can understand the shortcut & benefit from an implementation
like what you proposed, I cannot see it being done, since it would "give
the wrong answer".

-- 
.. in a symlinked directory is not what I expected
https://bugs.launchpad.net/bugs/180918
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to