1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-09 03:53:53 +00:00

change to 700 perms

This commit is contained in:
Kyle Spearrin
2018-08-27 22:59:50 -04:00
parent 0f68f0507e
commit 3c43265878
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ export class LowdbStorageService implements StorageService {
let adapter: lowdb.AdapterSync<any>;
if (Utils.isNode && dir != null) {
if (!fs.existsSync(dir)) {
NodeUtils.mkdirpSync(dir, '755');
NodeUtils.mkdirpSync(dir, '700');
}
const p = path.join(dir, 'data.json');
adapter = new FileSync(p);