[PATCH 1/2] smbd: Also handle ucf create mode for FILE_OVERWRITE_IF.

Jeremy Allison jra at samba.org
Tue Dec 3 11:24:37 MST 2013


On Tue, Dec 03, 2013 at 01:20:16PM +0100, Andreas Schneider wrote:
> If FILE_OVERWRITE_IF is set and the file doesn't exist it will create
> it. So we need to handle it too.
> 
> BUG: https://bugzilla.samba.org/show_bug.cgi?id=10297

NAK on this patch. It doesn't cover all cases (it would
also need to be in ntcreate and SMB2 create calls) and
doesn't cover all disposition types that can create a
file.

I'm working on a varient of this patch I'll post
shortly, once it passes autobuild.

Jeremy.


More information about the samba-technical mailing list