Thank you for reporting this bug and helping make Ubuntu better.

This is not a bug in coreutils, but the way 'cd' workd by default in
bash. If you want bash to behave as the coreutils utilities, please 'set
-P' (see 'info bash', or 'man bash', and look for the set builtin
options):

[EMAIL PROTECTED]:~ $ ls -l test
lrwxrwxrwx 1 hggdh hggdh 43 2008-09-30 19:57 test -> 
tmp/cdroot/Linux/noarch/at_opt/share/my-ppd
[EMAIL PROTECTED]:~ $ cd test
[EMAIL PROTECTED]:~/test $ cd ..
[EMAIL PROTECTED]:~ $ set -P
[EMAIL PROTECTED]:~ $ cd test
[EMAIL PROTECTED]:~/tmp/cdroot/Linux/noarch/at_opt/share/ppd $ cd ..
[EMAIL PROTECTED]:~/tmp/cdroot/Linux/noarch/at_opt/share $

Specifically, the man page states:

 -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.

I am closing this bug as Invalid. If you disagree, please feel free to
reopen.

** Changed in: coreutils (Ubuntu)
       Status: Confirmed => Invalid

-- 
.. 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