Description of problem: cd, and "." behave inconsistently when symlink is in the working directory path Version-Release number of selected component (if applicable): found @f18 reproduced with rawhide 07/24/13 bash-4.2.45-2.fc18.x86_64 rebuilt for f18 How reproducible: always Steps to Reproduce: [aledvink@dhcp-25-145 rpmbuild]$ cd ~/repo/ipmitool.f [aledvink@dhcp-25-145 ipmitool.f]$ . ../../rpmbuild/runme bash: ../../rpmbuild/runme: No such file or directory [aledvink@dhcp-25-145 ipmitool.f]$ cd ../../rpmbuild [aledvink@dhcp-25-145 rpmbuild]$ type . . is a shell builtin [aledvink@dhcp-25-145 rpmbuild]$ type cd cd is a shell builtin [aledvink@dhcp-25-145 rpmbuild]$ set -o allexport off braceexpand on emacs on errexit off errtrace off functrace off hashall on histexpand on history on ignoreeof off interactive-comments on keyword off monitor on noclobber off noexec off noglob off nolog off notify off nounset off onecmd off physical off pipefail off posix off privileged off verbose off vi off xtrace off [aledvink@dhcp-25-145 rpmbuild]$ ls -ld ~/repo lrwxrwxrwx. 1 aledvink aledvink 8 Jan 26 12:08 /home/aledvink/repo -> /al/repo Actual results: error on "." but not on cd Expected results: consistent no error
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle. Changing version to '20'. More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Thanks for the report. This is an expected behaviour of bash in regards to symlinks. The behaviour you specified can be achieved by using 'set -o physical'.