Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3FA90F35.1020101@ximbiot.com>
Date: Wed, 05 Nov 2003 09:54:45 -0500
From: Derek Robert Price <derek@ximbiot.com>
Organization: Ximbiot <http://ximbiot.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: 1.5.5: opendir opens directory without `r' permissions.
X-Enigmail-Version: 0.76.5.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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

