From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1091 invoked by alias); 7 Jun 2010 13:13:47 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28004 Received: (qmail 6525 invoked from network); 7 Jun 2010 13:13:44 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at vinc17.net does not designate permitted sender hosts) Date: Mon, 7 Jun 2010 15:13:39 +0200 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: Bug in zsh builtin pwd when option CHASE_LINKS is set Message-ID: <20100607131339.GA21964@prunille.vinc17.org> Mail-Followup-To: zsh-workers@zsh.org References: <20040924074842.GJ2973@ay.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040924074842.GJ2973@ay.vinc17.org> X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.20-6084-vl-r35499 (2010-05-18) 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 - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)