Skip to content

Commit

Permalink
Merge pull request #155 from szlend/fix-gname
Browse files Browse the repository at this point in the history
fix: set correct tar file gname
  • Loading branch information
nlewo authored Feb 15, 2025
2 parents 5fb215a + de69713 commit 5081883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/tar.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func appendFileToTar(tw *tar.Writer, srcPath, dstPath string, info os.FileInfo,
}

if perms.Gname != "" {
hdr.Gname = perms.Uname
hdr.Gname = perms.Gname
}

if perms.Mode != "" {
Expand Down

0 comments on commit 5081883

Please sign in to comment.