This is the mail archive of the cygwin 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]

FW: file execute access with noacl mount with Cygwin-1.7.0 20090518 snapshot


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]