This is the mail archive of the
mailing list for the Cygwin project.
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.
Windows Live™: Keep your life in sync.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html