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]

1.5.5: opendir opens directory without `r' permissions.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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: derek@ximbiot.com

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

iD8DBQE/qQ81LD1OTBfyMaQRAgCAAJ95/Kp4T/YmoQJzzswnNp1OeCbN2QCgvTli
S1vW++a9WVPujwQv9O1IShY=
=LRu8
-----END PGP SIGNATURE-----



--
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/


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