delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/22/01:06:14

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <COL102-W2338073CE4D5B90B81EDBCB5560@phx.gbl>
From: Karl M <karlm30 AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>
Subject: FW: file execute access with noacl mount with Cygwin-1.7.0 20090518 snapshot
Date: Thu, 21 May 2009 22:05:26 -0700
In-Reply-To: <COL102-W80909E32FA90994D2606FB5560@phx.gbl>
References: <COL102-W652563D05A10246186BB68B5590 AT phx DOT gbl> <COL102-W2723FB5BB4899C3D53F3A8B5590 AT phx DOT gbl> <4A14D846 DOT 3050505 AT cygwin DOT com> <COL102-W176169FAB29DFE2E8A9090B5590 AT phx DOT gbl> <4A157095 DOT 6010503 AT cygwin DOT com> <COL102-W6200B382180663D771FC7BB5590 AT phx DOT gbl> <COL102-W80909E32FA90994D2606FB5560 AT phx DOT gbl>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

> From: karl
> Subject: RE: file execute access with noacl mount with Cygwin-1.7.0 20090=
518 snapshot
> Date: Thu, 21 May 2009 10:40:00 -0700
>
>
>> Date: Thu, 21 May 2009 11:17:41 -0400
>> From: lh
>> Subject: Re: file execute access with noacl mount with Cygwin-1.7.0 2009=
0518 snapshot
>>
>> Karl M wrote:
>
> If I type
>
> ls -al /c/Cygwin/bin
>
> the exe files are all listed with rw------- instead of rwx------ as I wou=
ld expect
> from the documentation.
>
So is this description current, or does it no longer apply?

While normally the execute permission bits are used to evaluate executabili=
ty, this
is not possible on filesystems which don't support permissions at all (like=
 FAT/FAT32),
or if ACLs are ignored on filesystems supporting them (see the aforemention=
ed acl mount
option). In these cases, the following heuristic is used to evaluate if a f=
ile is
executable: Files ending in certain extensions (.exe, .com, .bat, .btm, .cm=
d) are
assumed to be executable.

Thanks,

...Karl
_________________________________________________________________
Windows Live=99: Keep your life in sync.
http://windowslive.com/explore?ocid=3DTXT_TAGLM_BR_life_in_synch_052009

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