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) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
const extract = tar.extract(outputDir, {
|
||||
dmode: 0o666, // All dirs should be writable
|
||||
fmode: 0o444, // All files should be readable
|
||||
readable: true, // All dirs/files should be readable.
|
||||
map: normalizeTarHeader
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue