1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-05 16:47:04 +02:00
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,
},
}