diff --git a/cmd/admin-handlers.go b/cmd/admin-handlers.go index 4d8778809..a71da543f 100644 --- a/cmd/admin-handlers.go +++ b/cmd/admin-handlers.go @@ -2448,6 +2448,10 @@ func (a adminAPIHandlers) InspectDataHandler(w http.ResponseWriter, r *http.Requ // Not, set it to default. si.Mode = 0o600 } + if si.ModTime.IsZero() { + // Set time to now. + si.ModTime = time.Now() + } header, zerr := zip.FileInfoHeader(dummyFileInfo{ name: filename, size: si.Size,