Users able to execute windows .exe though execute bit not set
Richard Sharpe
rsharpe at richardsharpe.com
Tue Apr 1 17:58:16 GMT 2003
On Tue, 1 Apr 2003, Ronan Waide wrote:
> On April 1, nick at drouet.co.uk 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
first.
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
is.
Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org,
sharpe[at]ethereal.com, http://www.richardsharpe.com
More information about the samba-technical
mailing list