diff --git a/server/PackageCache.js b/server/PackageCache.js index 972cae1..f2a0a34 100644 --- a/server/PackageCache.js +++ b/server/PackageCache.js @@ -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 })