This commit is contained in:
Chris Lu 2020-09-16 01:27:24 -07:00
parent 913a16268d
commit 4d21de63ee

View file

@ -289,11 +289,11 @@ func (fs *FilerServer) mkdir(ctx context.Context, w http.ResponseWriter, r *http
entry := &filer.Entry{
FullPath: util.FullPath(path),
Attr: filer.Attr{
Mtime: time.Now(),
Crtime: time.Now(),
Mode: os.FileMode(mode) | os.ModeDir,
Uid: OS_UID,
Gid: OS_GID,
Mtime: time.Now(),
Crtime: time.Now(),
Mode: os.FileMode(mode) | os.ModeDir,
Uid: OS_UID,
Gid: OS_GID,
},
}