X-Recipient: archive-cygwin@delorie.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@hotmail.com>
To: <cygwin@cygwin.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@phx.gbl>    <COL102-W2723FB5BB4899C3D53F3A8B5590@phx.gbl>   <4A14D846.3050505@cygwin.com>  <COL102-W176169FAB29DFE2E8A9090B5590@phx.gbl>   <4A157095.6010503@cygwin.com> <COL102-W6200B382180663D771FC7BB5590@phx.gbl>   <COL102-W80909E32FA90994D2606FB5560@phx.gbl>
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

