Try different method for making all files readable

This commit is contained in:
MICHAEL JACKSON 2017-08-12 17:37:54 -07:00
parent db69375e9c
commit b64f8e65f9
1 changed files with 1 additions and 2 deletions

View File

@ -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
})