Skip to content

Commit b7d6a0c

Browse files
authored
fix: set correct UID/GID for dump into tar (#1801)
closes #1800
1 parent f6b46ec commit b7d6a0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commands/dump.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ fn dump_tar(
176176
header.set_uid(uid.into());
177177
}
178178
if let Some(gid) = node.meta.gid {
179-
header.set_uid(gid.into());
179+
header.set_gid(gid.into());
180180
}
181181
if let Some(user) = &node.meta.user {
182182
header.set_username(user)?;

0 commit comments

Comments
 (0)