From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25130 invoked by alias); 14 Feb 2002 14:38:28 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Received: (qmail 25044 invoked from network); 14 Feb 2002 14:38:23 -0000 Received: from unknown (HELO antiochus-fe0.ultra.net) (146.115.8.188) by sources.redhat.com with SMTP; 14 Feb 2002 14:38:23 -0000 Received: from enterprise-e.rfk.com (209-122-233-153.s1963.apx2.sbo.ma.dialup.rcn.com [209.122.233.153]) by antiochus-fe0.ultra.net (8.8.8/ult/n20340/mtc.v2) with ESMTP id JAA16938; Thu, 14 Feb 2002 09:38:20 -0500 (EST) Message-Id: <4.3.1.2.20020214093005.01dea388@pop.ma.ultranet.com> X-Sender: lhall@pop.ma.ultranet.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Thu, 14 Feb 2002 06:38:00 -0000 To: Roland Glenn McIntosh , cygwin@cygwin.com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: minor bug - No ".." directory gives error in ls In-Reply-To: <5.1.0.14.2.20020214083308.06041948@lnxmain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2002-02/txt/msg00707.txt.bz2 At 08:37 AM 2/14/2002, Roland Glenn McIntosh wrote: >In some cases when listing a directory in which there is no parent ls gives an error: > ls: ..: No such file or directory > >If there was no directory then I would expect ".." to refer to "." like it does in the root of a unix partition. Specifically, this happens with network shares. To reproduce: > >cd //192.168.0.2/shared >ls -la > >Where 192.168.168.0.2 is a server on which you have authenticated yourself or need no authentication, and 'shared' is a directory which has been shared. There should be no other resources available at 192.168.0.2 via CIFS other than the shared directory. OK. For me this works fine at my root (/). I do get the error you claim if I "ls .." from a network share directory, as you indicate. Since there is no analog to this in the UNIX world, it's not that surprising that this doesn't just work. If you are interested in providing a patch to implement the behavior you're interested in, I'm sure it will be thoughtfully considered. Otherwise, the mail archives will contain a record of your report for anyone looking for a bug to fix. Thanks, Larry Hall lhall@rfk.com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/