Subject: 1.5.5: opendir opens directory without `r' permissions.
From: Derek Robert Price <[email-masked]>
To: [email-masked]
Date: Wed, 05 Nov 2003 09:54:45 -0500

This doesn't appear to be correct behaviour on most other UNIX
platforms.  On most platforms the opendir fails and sets an errno that
resolves to "Permission denied".  This can be illustrated with the
following short script:

~    mkdir test
~    touch test/file
~    chmod a= test
~    ls test

The `ls' will return a blank line under Cygwin bash.  On most platform
`ls' will return:

~    ls: test: Permission denied

I don't think you'll need my cygcheck output to reproduce this, but say
the word and I will send it.

Derek

- --
~                *8^)

Email: [email-masked]

Get CVS support at <http://ximbiot.com>!
- --
Doesn't expecting the unexpected make the unexpected become the expected?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/