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: From: Karl M To: 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: References: Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/