mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-07-07 17:48:49 +02:00
filer: pass along user name and group name for HDFS
This commit is contained in:
parent
508ec01ab0
commit
725e47dcc3
|
@ -122,11 +122,13 @@ func (f *Filer) CreateEntry(ctx context.Context, entry *Entry, o_excl bool) erro
|
||||||
Attr: Attr{
|
Attr: Attr{
|
||||||
Mtime: now,
|
Mtime: now,
|
||||||
Crtime: now,
|
Crtime: now,
|
||||||
Mode: os.ModeDir | 0770,
|
Mode: os.ModeDir | entry.Mode | 0110,
|
||||||
Uid: entry.Uid,
|
Uid: entry.Uid,
|
||||||
Gid: entry.Gid,
|
Gid: entry.Gid,
|
||||||
Collection: entry.Collection,
|
Collection: entry.Collection,
|
||||||
Replication: entry.Replication,
|
Replication: entry.Replication,
|
||||||
|
UserName: entry.UserName,
|
||||||
|
GroupNames: entry.GroupNames,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue