Package: zsh Version: 4.3.10-12 Severity: normal When the parent directory doesn't list the current working directory (e.g. because the parent directory isn't readable or in the case of a special .snapshot directory), "pwd -P" or pwd with CHASE_LINKS set outputs "." instead of the directory.
For instance, consider the following testcase "pwd-test": set -e mkdir -p test-dir/foo ln -s foo test-dir/bar chmod 100 test-dir ( cd test-dir/bar; pwd -P; ) chmod 700 test-dir rm -r test-dir "zsh pwd-test" outputs "." while with the other shells, one gets ".../test-dir/foo" as expected. Note that "pwd -P" is specified by POSIX, so that this is a bug w.r.t. POSIX. Patches have been posted to the zsh-workers mailing-list: http://www.zsh.org/mla/workers/2010/msg00457.html http://www.zsh.org/mla/workers/2010/msg00461.html -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores) Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Versions of packages zsh depends on: ii libc6 2.11.1-3 Embedded GNU C Library: Shared lib ii libcap2 1:2.17-2 support for getting/setting POSIX. ii libncursesw5 5.7+20100313-2 shared libraries for terminal hand Versions of packages zsh recommends: ii libc6 2.11.1-3 Embedded GNU C Library: Shared lib ii libpcre3 8.02-1 Perl 5 Compatible Regular Expressi Versions of packages zsh suggests: ii zsh-doc 4.3.10-12 zsh documentation - info/HTML form -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org