> From: karl
> Subject: RE: file execute access with noacl mount with Cygwin-1.7.0 20090518 
> 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 20090518 
>> 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 would 
> 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 executability, 
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 aforementioned 
acl mount
option). In these cases, the following heuristic is used to evaluate if a file 
is
executable: Files ending in certain extensions (.exe, .com, .bat, .btm, .cmd) 
are
assumed to be executable.

Thanks,

...Karl
_________________________________________________________________
Windows Liveā„¢: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_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/

Reply via email to