mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
When creating a tarball, ensure the fmode and dmode are set to readable/writable for sharing tarballs between windows/unixes
This commit is contained in:
@@ -856,7 +856,9 @@ export function createTarGzStream(dirPath: string) {
|
||||
map: (header: any) => {
|
||||
header.name = `${basename}/${header.name}`
|
||||
return header
|
||||
}
|
||||
},
|
||||
readable: true, // all dirs and files should be readable
|
||||
writable: true, // all dirs and files should be writable
|
||||
});
|
||||
|
||||
return tarStream.pipe(zlib.createGzip());
|
||||
|
||||
Reference in New Issue
Block a user