delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/14/08:38:23

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <5.1.0.14.2.20020214083308.06041948@lnxmain>
X-Sender: roland AT lnxmain
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Thu, 14 Feb 2002 08:37:56 -0500
To: cygwin AT cygwin DOT com
From: Roland Glenn McIntosh <roland AT steeltorch DOT com>
Subject: minor bug - No ".." directory gives error in ls
Mime-Version: 1.0

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.

-rgm


--
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