Package: bash Version: 2.05b-24 Severity: normal
The problem can be recreated thusly: $ cd /tmp $ mkdir -p foo/bar $ ln -s foo baz $ cd baz $ $ unset CDPATH $ bash -c "cd bar" # OK $ sh -c "cd bar" # OK $ $ export CDPATH=/usr/src $ bash -c "cd bar" # OK $ sh -c "cd bar" # BAD sh: line 1: cd: bar: No such file or directory This problem affects anyone who is using the CDPATH feature of bash. Perl and make, for example, invoke subshells as 'sh'. This bug has the potential to break many things. An example would be "make menuconfig" for the kernel (see 'cd include' in the Makefile) if /usr/src/linux is a symlink. -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (990, 'testing'), (300, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.4.27 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages bash depends on: ii base-files 3.1.2 Debian base system miscellaneous f ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libncurses5 5.4-4 Shared libraries for terminal hand ii passwd 1:4.0.3-31sarge1 change and administer password and -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

