minor bug - No ".." directory gives error in ls

Roland Glenn McIntosh roland@steeltorch.com
Thu Feb 14 05:38:00 GMT 2002


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/



More information about the Cygwin mailing list