delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/27/02:22: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: <3E5DBC86.1030509@netstd.com>
Date: Thu, 27 Feb 2003 15:21:42 +0800
From: Wu Yongwei <adah AT netstd DOT com>
Organization: Kingnet Security, Inc.
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01
X-Accept-Language: en, en-us, zh-cn, zh
MIME-Version: 1.0
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: cygwin1.dll, nontsec, and NTFS disk issue

You are correct about file permissions, Christopher.

We all know that Windows has loose file permissions and all files are 
marked executable by default.  When CYGWIN=nontsec,

Old behaviour: when an executable is wanted, the system will check by 
extension and content, not file permissions;

New behaviour: when an executable is wanted, the system will check by 
file permissions on NTFS disks, even though nontsec is set.

As far as I understand, it seems to be an overriding issue.  For older 
cygwin versions, ntsec/nontsec overrides system support for file 
permissions; for newer versions, system support for file permissions 
makes cygwin ignore ntsec/nontsec setting when autocompleting.  That is, 
the old behaviour only occurs on FAT disks.

I think the old way is more consistent.

Hope I am clearer.

Best regards,

Wu Yongwei

--- Original Message from Christopher Faylor ---

I think that the point is supposed to be that test.c must have
executable permissions even with CYGWIN=nontsec.  So hitting tab to get
what should just be a command brings in test.c, too.

I can't duplicate this behavior, of course.

cgf


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

- Raw text -


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