From a6f7f9b0b8baedad7b1555c7e01a4ab3cec3784c Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 31 May 2018 22:50:19 -0700 Subject: [PATCH] add missing modify and create times --- weed/server/filer_server_handlers_write_autochunk.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/weed/server/filer_server_handlers_write_autochunk.go b/weed/server/filer_server_handlers_write_autochunk.go index a1f0fa27f..5156ae02c 100644 --- a/weed/server/filer_server_handlers_write_autochunk.go +++ b/weed/server/filer_server_handlers_write_autochunk.go @@ -158,7 +158,9 @@ func (fs *FilerServer) doAutoChunk(w http.ResponseWriter, r *http.Request, conte entry := &filer2.Entry{ FullPath: filer2.FullPath(path), Attr: filer2.Attr{ - Mode: 0660, + Mtime: time.Now(), + Crtime: time.Now(), + Mode: 0660, }, Chunks: fileChunks, }