delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/10/13:39:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Shankar Unni <shankar AT cotagesoft DOT 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 AT exchange DOT timesys DOT com>
NNTP-Posting-Host: adsl-64-165-207-59.dsl.snfc21.pacbell.net
Mime-Version: 1.0
X-Trace: main.gmane.org 1039545517 10071 64.165.207.59 (10 Dec 2002 18:38:37 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019