From 92bc44a712648cb4331b77d36af989ec27d9faab Mon Sep 17 00:00:00 2001 From: David Kramer Date: Sun, 22 Apr 2018 13:55:46 -0700 Subject: [PATCH] Fix #94, #575: Fix run-time crash due to insufficient permissions (PR #581) --- src/build/buildMain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build/buildMain.js b/src/build/buildMain.js index e847b16..3dc1480 100644 --- a/src/build/buildMain.js +++ b/src/build/buildMain.js @@ -153,7 +153,7 @@ function buildMain(inpOptions, callback) { const options = Object.assign({}, inpOptions); // pre process app - const tmpObj = tmp.dirSync({ unsafeCleanup: true }); + const tmpObj = tmp.dirSync({ mode: '0755', unsafeCleanup: true }); const tmpPath = tmpObj.name; // todo check if this is still needed on later version of packager