Skip to content

Commit 6d71580

Browse files
committed
set default permissions and ownsers
1 parent ffabc2a commit 6d71580

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
1.36 KB
Binary file not shown.

internal/examples/src/convert.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,11 @@ export async function convertE2EToExample(config: ConvertE2EToExampleConfig) {
458458
'--sort=name',
459459
// set modify time to zero
460460
'--mtime=@0',
461+
// set default permissions and owners
462+
'--mode=a+rwX',
463+
'--owner=0',
464+
'--group=0',
465+
'--numeric-owner',
461466
'-czf',
462467
`${config.e2e}.tar.gz`,
463468
`--exclude=${config.e2e}/node_modules`,

0 commit comments

Comments
 (0)