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]

Re: File mode judgement



===
----- Original Message -----
From: "Wu Yongwei" <adah@netstd.com>
To: <cygwin@cygwin.com>
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
Cygwin,
> I suddenly found that it no more did it. Now on a NTFS volume it
depends
> 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.
Rob


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]