Users able to execute windows .exe though execute bit not set

Richard Sharpe rsharpe at
Tue Apr 1 17:58:16 GMT 2003

On Tue, 1 Apr 2003, Ronan Waide wrote:

> On April 1, nick at said:
> > I'm looking for some assistance regarding file permissions and the inability
> > to stop the execution of a file even though the execute permission has not
> > been set.
> Execute bits are a Unix concept. Windows will execute any file it can
> read that it understands the extension of and has a handler for.

Hmmm, I did some testing a week or so ago, and found that removing the 
execute permission from ACLs on the file (esp inherited ones) prevents 
Win2K from executing the file, although it does open the file for read 

Since we have just added proper eXecute permission support to our (almost) 
NT ACLs in the file system, let me check this today to see what the deal 

Richard Sharpe, rsharpe[at], rsharpe[at], 

More information about the samba-technical mailing list