Fwd: SMB2 not respecting mtime values

Jeremy Allison jra at samba.org
Thu Jan 24 17:03:41 UTC 2019


On Thu, Jan 24, 2019 at 12:08:29PM +0100, Björn JACKE via samba-technical wrote:
> On 2019-01-22 at 16:30 -0800 Jeremy Allison via samba-technical sent off:
> > On Tue, Jan 22, 2019 at 11:53:48AM -0600, Steve French via samba-technical wrote:
> > > I could also reproduce this to Samba
> > > 
> > > "For the non-empty file, mtime is modified despite being set after
> > > the SMB3 WRITE completed."
> > 
> > If Samba is doing the same as Windows, then we're doing it
> > right and the client needs to change :-).
> 
> then this should behave different then when Unix extension will be used.
> 
> If we are certain that this is by design in Windows semantics, then we should add
> this as a TODO on https://wiki.samba.org/index.php/SMB3-Linux

Maybe. Changing meta-data semantics on write is fraught with danger,
and we don't even do that for SMB1 unix extensions. So let's not
add contraints we don't understand yet please.

My money is on a client bug, as always :-).



More information about the samba-technical mailing list