fix socket permissions

Signed-off-by: Alexis Tyler <xo@wvvw.me>
This commit is contained in:
Alexis Tyler
2019-09-28 16:53:45 +09:30
parent b1bfcef86f
commit 233ccbd7ac
+1 -1
View File
@@ -114,7 +114,7 @@ module.exports = function ($injector, fs, net, express, config, log, getEndpoint
}
// Set permissions
return fs.chmodSync(port, 777);
return fs.chmodSync(port, 660);
});
// Double-check EADDRINUSE