mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
13 lines
461 B
Diff
13 lines
461 B
Diff
diff --git a/server/server.js b/server/server.js
|
|
index 0c9a45e6..cec31c7c 100644
|
|
--- a/server/server.js
|
|
+++ b/server/server.js
|
|
@@ -1583,6 +1583,7 @@ async function initDatabase(testMode = false) {
|
|
if (! fs.existsSync(Database.path)) {
|
|
log.info("server", "Copying Database");
|
|
fs.copyFileSync(Database.templatePath, Database.path);
|
|
+ fs.chmodSync(Database.path, 0o640);
|
|
}
|
|
|
|
log.info("server", "Connecting to the Database");
|