[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Re: darcs vs tla

From: Robert Collins
Subject: Re: [Gnu-arch-users] Re: darcs vs tla
Date: Fri, 19 Nov 2004 09:41:41 +1100

On Thu, 2004-11-18 at 16:33 -0600, John A Meinel wrote:

> > It has an X bit. And the system can run any arbitrarily named file.
> > However.. the shells both UI and command line use a registry of file
> > extensions to choose an interpreter, rather than a hashbang and file
> > magic.
> > 
> > Rob
> Can you mark a .exe as non-executable?


offhand - I haven't used this tool in years - 
setacl /D everyone:execute foo.exe

> I could be wrong, and ACL's might have something about whether or not 
> this item can be executed by a person. I know they have read/write. But 
> I certainly don't think you can say "double clicking this file will not 
> run word, but opening word and opening this file will work". I'm not 
> sure about .exe/com/bat etc.

.doc files are not executed, because of the file type lookup, I'm pretty
sure that denying execute on them will have no effect.


Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

[Prev in Thread] Current Thread [Next in Thread]