This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: file execute access with noacl mount with Cygwin-1.7.0 20090518 snapshot
- From: Karl M <karlm30 at hotmail dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 20 May 2009 21:19:48 -0700
- Subject: RE: file execute access with noacl mount with Cygwin-1.7.0 20090518 snapshot
- References: <COL102-W652563D05A10246186BB68B5590@phx.gbl>
> From:
> Subject: file execute access with noacl mount with Cygwin-1.7.0 20090518 snapshot
> Date: Wed, 20 May 2009 20:59:20 -0700
>
>
> Hi All...
>
> I just tried executing a file on my desktop as /c/Users/me/Desktop/file.exe in Vista Business SP1.
>
> The file would not tab complete in bash and an ls -al showed no execute access.
>
> Do I need to add the exec or cygexec explicitly, or should that be the default with noacl?
>
> Thanks,
>
> ...Karl
>
I'm ok with adding it explicitly, and perhaps that is cleaner in the long run with no hidden assumptions.
It is just that my file ended in .exe and the documentation says:
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.
So the current behavior is not what I expected.
Thanks,
...Karl
_________________________________________________________________
Hotmail® has ever-growing storage! Don’t worry about storage limits.
http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage1_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/