tcon torture test

Richard Sharpe rsharpe at richardsharpe.com
Sun Mar 30 02:36:39 GMT 2003


On Sun, 30 Mar 2003 tridge at samba.org wrote:

> > If two SessionSetups are sent, each resulting in a separate [V]UID, then
> > does Windows apply correct restrictions to each or does it allow the greater
> > set of permissions?  That is:
> 
> The question doesn't really make sense for SMBwriteX. It is similar to
> the way write() works in posix - a open file handle can be used in any
> security context, it doesn't matter what euid you change to before
> calling write()

Right. The security checking is done at open time. However, I imagine that 
there are problems over NFS. There sure are for another FS I can name 
where read/write permission checking is deferred until reading/writing 
time.

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