delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/05/09:55:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3FA90F35.1020101@ximbiot.com>
Date: Wed, 05 Nov 2003 09:54:45 -0500
From: Derek Robert Price <derek AT ximbiot DOT 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 AT cygwin DOT 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

-----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 AT ximbiot DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019