diff --git a/src/include/file-config.js b/src/include/file-config.js index 0f5e8af..a7a646c 100755 --- a/src/include/file-config.js +++ b/src/include/file-config.js @@ -82,9 +82,9 @@ class fileConfig extends config { } assertGlobalConfig() { - if (!fs.existsSync(this.globalDir)) fs.mkdirSync(this.globalDir, '0644', true); - if (!fs.existsSync(this.frameDir)) fs.mkdirSync(this.frameDir, '0744', true); - if (!fs.existsSync(this.cacheDir)) fs.mkdirSync(this.cacheDir, '0744', true); + if (!fs.existsSync(this.globalDir)) fs.mkdirSync(this.globalDir, '0750', true); + if (!fs.existsSync(this.frameDir)) fs.mkdirSync(this.frameDir, '0750', true); + if (!fs.existsSync(this.cacheDir)) fs.mkdirSync(this.cacheDir, '0750', true); if (!fs.existsSync(this.global)) fs.appendFileSync(this.global, ''); } @@ -133,4 +133,4 @@ class fileConfig extends config { } } -module.exports = fileConfig; \ No newline at end of file +module.exports = fileConfig;