delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/21/00:20:34

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <COL102-W2723FB5BB4899C3D53F3A8B5590@phx.gbl>
From: Karl M <karlm30 AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: file execute access with noacl mount with Cygwin-1.7.0 20090518 snapshot
Date: Wed, 20 May 2009 21:19:48 -0700
In-Reply-To: <COL102-W652563D05A10246186BB68B5590@phx.gbl>
References: <COL102-W652563D05A10246186BB68B5590 AT phx DOT gbl>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com


> From:=20
> 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.e=
xe in Vista Business SP1.
>
> The file would not tab complete in bash and an ls -al showed no execute a=
ccess.
>
> Do I need to add the exec or cygexec explicitly, or should that be the de=
fault with noacl?
>
> Thanks,
>
> ...Karl
>
I'm ok with adding it explicitly, and perhaps that is cleaner in the long r=
un with no hidden assumptions.
=20
It is just that my file ended in .exe and the documentation says:
=20
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 aforementioned acl mount option). In these cases, the following h=
euristic is used to evaluate if a file is executable: Files ending in certa=
in extensions (.exe, .com, .bat, .btm, .cmd) are assumed to be executable.
=20
So the current behavior is not what I expected.
=20
Thanks,
=20
...Karl
=20
_________________________________________________________________
Hotmail=AE has ever-growing storage! Don=92t worry about storage limits.
http://windowslive.com/Tutorial/Hotmail/Storage?ocid=3DTXT_TAGLM_WL_HM_Tuto=
rial_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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019