X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A14D846.3050505@cygwin.com> Date: Thu, 21 May 2009 00:27:50 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: file execute access with noacl mount with Cygwin-1.7.0 20090518 snapshot References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Karl M wrote: > Karl M wrote: >> 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. Does 'file.exe' report itself as executable if you move it to somewhere that's not under '/c/Users/'? Is there a reason you don't want 'acl' (other than the fact that you're working under '/c/Users' on Vista)? While setting 'exec' or 'cygexec' may help in your situation, I'm not at all clear why you think it's 'cleaner'. Perhaps you could be more explicit. See for guidelines on providing a complete problem report, which might help us all understand the heart of your question. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/