diff -Nru /n/sources/plan9/sys/src/cmd/replica/applylog.c /sys/src/cmd/replica/applylog.c --- /n/sources/plan9/sys/src/cmd/replica/applylog.c Fri May 20 18:02:14 2011 +++ /sys/src/cmd/replica/applylog.c Thu Dec 1 00:00:00 2011 @@ -429,6 +429,10 @@ nd.gid = rd.gid; if(dirfwstat(fd, &nd) < 0) fprint(2, "warning: cannot set gid on %q\n", local); + nulldir(&nd); + nd.mtime = rd.mtime; + if(dirfwstat(fd, &nd) < 0) + fprint(2, "warning: cannot set mtime on %q\n", local); if(douid){ nulldir(&nd); nd.uid = rd.uid;