This is the mail archive of the
mailing list for the Cygwin project.
1.5.5: opendir opens directory without `r' permissions.
- From: Derek Robert Price <derek at ximbiot dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 05 Nov 2003 09:54:45 -0500
- Subject: 1.5.5: opendir opens directory without `r' permissions.
- Organization: Ximbiot <http://ximbiot.com>
-----BEGIN PGP SIGNED MESSAGE-----
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.
Get CVS support at <http://ximbiot.com>!
Doesn't expecting the unexpected make the unexpected become the expected?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html