This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Change default path permission handling
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: cygwin-developers at cygwin dot com
- Date: Mon, 31 Jan 2005 22:01:01 +0100
- Subject: Change default path permission handling
- Reply-to: cygwin-developers at cygwin dot com
Hi guys,
As you all know, Windows NT systems allow by default to access files only
because you have sufficient permissions on the file, regardless of the
permissions set in the parent directories. That's obviously non-POSIXy.
As you also know, NT has a user setting which controls that behaviour,
called "Bypass traverse checking". All users have this right by default.
I've just added the following patch to Cygwin: Switch on traverse
checking again, to handle file permissions POSIX-like. If the user
don't want that or the environment in which the user works is demanding
Windows-like "bypass ..." behaviour, there's a CYGWIN setting now called
"traverse". To return to bypassing traverse checking, set
CYGWIN=notraverse
I've also added a description to cygwinenv.sgml. On my system, the
default works really good. I don't see a reason to switch traverse
checking off, but YMMV, as always.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.