This is the mail archive of the
mailing list for the Cygwin project.
Re: File mode judgement
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- To: "Wu Yongwei" <adah at netstd dot com>,<cygwin at cygwin dot com>
- Date: Thu, 24 Jan 2002 21:12:19 +1100
- Subject: Re: File mode judgement
- References: <000701c1a4bf$59db2f10$0610a8c0@wyw>
----- Original Message -----
From: "Wu Yongwei" <firstname.lastname@example.org>
Sent: Thursday, January 24, 2002 9:10 PM
Subject: File mode judgement
> In the past, Cygwin seemed to judge whether a file is executable on a
> combination of suffix and content. However, today when I reinstalled
> I suddenly found that it no more did it. Now on a NTFS volume it
> only on file attributes.
> 1) Is it a design change?
Yes. It is much faster to look at file permissions first, and content
second. Thats what unix does. The change is activated by CYGWIN=ntsec.
> 2) Is it possible to switch back to the old behaviour?
AFAIK, no. It shouldn't be needed anyway, just use chmod to set the +x
bit on any executables you have.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html