Try different method for making all files readable
This commit is contained in:
parent
db69375e9c
commit
b64f8e65f9
|
@ -23,8 +23,7 @@ function normalizeTarHeader(header) {
|
||||||
function extractResponse(response, outputDir) {
|
function extractResponse(response, outputDir) {
|
||||||
return new Promise(function (resolve, reject) {
|
return new Promise(function (resolve, reject) {
|
||||||
const extract = tar.extract(outputDir, {
|
const extract = tar.extract(outputDir, {
|
||||||
dmode: 0o666, // All dirs should be writable
|
readable: true, // All dirs/files should be readable.
|
||||||
fmode: 0o444, // All files should be readable
|
|
||||||
map: normalizeTarHeader
|
map: normalizeTarHeader
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue