Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: Chris Faylor Date: Thu, 7 Sep 2000 17:16:17 -0400 To: cygwin AT sources DOT redhat DOT com Subject: Re: chdir through symlinks Message-ID: <20000907171617.B28544@cygnus.com> Reply-To: cygwin AT sources DOT redhat DOT com Mail-Followup-To: cygwin AT sources DOT redhat DOT com References: <104174358744 DOT 20000903224136 AT logos-m DOT ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.6i In-Reply-To: <104174358744.20000903224136@logos-m.ru>; from deo@logos-m.ru on Sun, Sep 03, 2000 at 10:41:36PM +0400 On Sun, Sep 03, 2000 at 10:41:36PM +0400, Egor Duda wrote: >Hi! > >the following script > >======================================================================= >#!/bin/sh >cd /tmp >ln -s /usr test-link >cd test-link >cd .. >ls >======================================================================= > >lists contents of /tmp under cygwin, and contents of / on linux and >FreeBSD boxes i can access. is cygwin behavior correct? Cygwin changed recently to fix the "find in root fails" problem but in the process the semantics of '..' changed as you've noted. It's not impossible to get cygwin working the same way as linux but it adds code to a time critical section of path handling so I've been loathe to do that. My recent cleanup of cwd handling may make this easier though. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com