Skip to content

Commit 79fa904

Browse files
committed
Fix uid, gid and mode
1 parent c5e3ab9 commit 79fa904

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

scripts/pack.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,14 @@ pack(root,
2020
header.uid = uid
2121
header.gid = gid
2222
}
23+
else
24+
{
25+
header.uid = 0
26+
header.gid = 0
27+
}
2328

2429
return header
2530
},
26-
umask: 0x077
31+
umask: 0o077
2732
})
2833
.pipe(process.stdout)

0 commit comments

Comments
 (0)