[PATCH] Fix smbd behavior with SMB2-FLUSH on a directory handle.
jra at samba.org
Thu May 10 21:17:08 UTC 2018
On Thu, May 10, 2018 at 11:36:19AM -0700, Jeremy Allison wrote:
> After testing against Windows it turns out that
> SMB2-FLUSH should succeed on a handle opened
> with FILE_ADD_FILE|FILE_ADD_SUBDIRECTORY
> Works on UNIX too, as fsync(fd) can
> be called against an open directory
> handle to sync the metadata on disk.
> Added a regression test that enabled
> me to understand how Windows behaves,
> we now pass it.
> BUG: https://bugzilla.samba.org/show_bug.cgi?id=13428
> Please review and push if happy !
Hang on a minute - hit "pause" on this patch please.
Just found out from Microsoft that a root directory
handle on a share may be being treated differently than all
other handles for flush purposes.
Arggghhhhh. Don't think this stuff is documented !!!! :-(.
I'll do more research and get back to the list on
More information about the samba-technical