diff --git a/src/command-line/index.js b/src/command-line/index.js index 3366dd75..4c4bbd8d 100644 --- a/src/command-line/index.js +++ b/src/command-line/index.js @@ -15,7 +15,7 @@ if (program.home) { var config = Helper.HOME + "/config.js"; if (!fs.existsSync(config)) { - mkdirp.sync(Helper.HOME); + mkdirp.sync(Helper.HOME, {mode: "0700"}); fs.writeFileSync( config, fs.readFileSync(__dirname + "/../../defaults/config.js")