This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]