Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug in zsh builtin pwd when option CHASE_LINKS is set



Hi,

On 2004-09-24 09:48:42 +0200, Vincent Lefevre wrote:
> lepuid:~> zsh -f
> lepuid% setopt CHASE_LINKS
> lepuid% pwd
> /users/spaces/lefevre
> lepuid% cd .snapshot
> lepuid% pwd
> .
> lepuid% /bin/pwd
> /users/spaces/lefevre/.snapshot
> lepuid% echo $PWD
> /users/spaces/lefevre/.snapshot
> 
> Note: .snapshot is a special read-only directory set up by the
> NFS server and that is not seen in the directory listing.
> 
> When CHASE_LINKS (the default), I get the normal behavior.

I have the same problem with zsh 4.3.10 when I cd a directory
with the following permissions: drwxrwxr-x. /bin/pwd and $PWD
give the correct directory, but the pwd built-in gives ".".

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)



Messages sorted by: Reverse Date, Date, Thread, Author