svn commit: samba r1304 - branches/SAMBA_3_0/source/smbd

jra at samba.org jra at samba.org
Wed Jun 30 01:35:02 GMT 2004


Author: jra
Date: 2004-06-30 01:35:01 +0000 (Wed, 30 Jun 2004)
New Revision: 1304

Modified:
   branches/SAMBA_3_0/source/smbd/open.c
Log:
Turns out non-io opens that cause oplock breaks are a *different* set
of desired access flags from those that cause sharing violations.
Oplock breaks are caused by : ~(SYNCHRONIZE_ACCESS|FILE_READ_ATTRIBUTES|FILE_WRITE_ATTRIBUTES)
Sharing violations are caused by : ~(SYNCHRONIZE_ACCESS|READ_CONTROL_ACCESS|FILE_READ_ATTRIBUTES|FILE_WRITE_ATTRIBUTES)
We now pass the torture rename test again.
I still need to work out if subsequent opens will cause sharing violations with an existing open
mode of SYNCHRONIZE_ACCESS|READ_CONTROL_ACCESS|FILE_READ_ATTRIBUTES|FILE_WRITE_ATTRIBUTES;
Jeremy.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1304&nolog=1


More information about the samba-cvs mailing list