Samba 3.0.32 - access time is set to modification time on
copying file to share, not to current time
jra at samba.org
Tue Oct 28 17:39:52 GMT 2008
On Tue, Oct 28, 2008 at 05:49:20PM +0200, Volodymyr Khomenko wrote:
> Hi all,
> I've encoutered strange behaviour of samba 3.0.32 with file access time:
> when I copy a file to samba share (drag&drop or Ctrl+C/Ctrl+V) and then look to its properties, I see that
> last access time is set to last modification time (while regular flow is set access time to current time).
> To catch that issue I've used zero-length file of unknown type (otherwise MS explorer can read that file
> a while after copying and update access time to current by this operation).
> Is it known problem with 3.0.x branch? How can we fix it?
> P.S. I've tried to do the same with samba 3.2.0: no such behaviour was observed,
> access time is updated by current time on copy to samba share.
There have been many fixes to the time handling between 3.0.x
and 3.2, that was one of the big fixes that differentiates
the two versions.
We're probably not going to back-port this fix to 3.0.x,
is it a problem to move to 3.2.x instead ?
More information about the samba-technical