This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
> Date: Thu, 21 May 2009 00:27:50 -0400 > From: lh > Subject: Re: file execute access with noacl mount with Cygwin-1.7.0 20090518 snapshot > > 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. > Attatched is a cygcheck and my fstab. I prefer using windows permissions on my windows (outside of Cygwin) files. I only have this set on my cygdrive mount. Yes, if I do ls -al of the file.exe in /home/me after I copied it there, I have permissions of rwx------ as expected. If I copy the file to /c/Users/me/Desktop, I don't have execute permission without adding exec to my cygdrive mount in fstab, as I have in my current fstab. 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
Attachment:
cygcheck.txt
Description: Text document
Attachment:
fstab
Description: Text document
-- 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/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |