Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Shankar Unni <shankar@cotagesoft.com>
Subject: Re: ls .. not respecting symbolic links
Date: Tue, 10 Dec 2002 10:38:46 -0800
Lines: 10
Message-ID: <3DF634B6.5090609@cotagesoft.com>
References: <3D848382FB72E249812901444C6BDB1D0BA9CD@exchange.timesys.com>
NNTP-Posting-Host: adsl-64-165-207-59.dsl.snfc21.pacbell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: main.gmane.org 1039545517 10071 64.165.207.59 (10 Dec 2002 18:38:37 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Tue, 10 Dec 2002 18:38:37 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130
X-Accept-Language: en-us, en
In-Reply-To: <3D848382FB72E249812901444C6BDB1D0BA9CD@exchange.timesys.com>

Robb, Sam wrote:

>   I see the same behavior under Linux, so the question is:
> is this a bash bug, or expected behavior?

Expected behavior. This has been a well-known feature of symlinks - the 
kernel-level APIs can only follow physical paths, not logical paths. 
*Some shells* have explicit code to handle "cd" (only) by allowing you 
to cd .. up a logical path.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

