mirror of
https://github.com/restic/restic.git
synced 2025-08-12 11:37:40 +00:00
dump: include username in tar
This commit is contained in:
@@ -87,6 +87,8 @@ func tarNode(ctx context.Context, tw *tar.Writer, node *restic.Node, repo restic
|
|||||||
Mode: int64(node.Mode.Perm()), // c_IS* constants are added later
|
Mode: int64(node.Mode.Perm()), // c_IS* constants are added later
|
||||||
Uid: int(node.UID),
|
Uid: int(node.UID),
|
||||||
Gid: int(node.GID),
|
Gid: int(node.GID),
|
||||||
|
Uname: node.User,
|
||||||
|
Gname: node.Group,
|
||||||
ModTime: node.ModTime,
|
ModTime: node.ModTime,
|
||||||
AccessTime: node.AccessTime,
|
AccessTime: node.AccessTime,
|
||||||
ChangeTime: node.ChangeTime,
|
ChangeTime: node.ChangeTime,
|
||||||
|
Reference in New Issue
Block a user