Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in zsh builtin pwd when option CHASE_LINKS is set
- X-seq: zsh-workers 28004
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Bug in zsh builtin pwd when option CHASE_LINKS is set
- Date: Mon, 7 Jun 2010 15:13:39 +0200
- In-reply-to: <20040924074842.GJ2973@xxxxxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20040924074842.GJ2973@xxxxxxxxxxxxx>
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