This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
minor bug - No ".." directory gives error in ls
- From: Roland Glenn McIntosh <roland at steeltorch dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 14 Feb 2002 08:37:56 -0500
- Subject: minor bug - No ".." directory gives error in ls
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/