filer: pass along user name and group name for HDFS
This commit is contained in:
@@ -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,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user