add missing modify and create times

This commit is contained in:
Chris Lu 2018-05-31 22:50:19 -07:00
parent 7efeb146c5
commit a6f7f9b0b8

View file

@ -158,7 +158,9 @@ func (fs *FilerServer) doAutoChunk(w http.ResponseWriter, r *http.Request, conte
entry := &filer2.Entry{ entry := &filer2.Entry{
FullPath: filer2.FullPath(path), FullPath: filer2.FullPath(path),
Attr: filer2.Attr{ Attr: filer2.Attr{
Mode: 0660, Mtime: time.Now(),
Crtime: time.Now(),
Mode: 0660,
}, },
Chunks: fileChunks, Chunks: fileChunks,
} }