From 3ffa9f45b8fa86075d572b81dc12af6ab7f194c2 Mon Sep 17 00:00:00 2001 From: Max Stockner Date: Wed, 31 Jul 2013 12:32:29 +0200 Subject: [PATCH] uncomment priviledge drop --- web.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web.js b/web.js index 7695277..51e582f 100644 --- a/web.js +++ b/web.js @@ -81,8 +81,8 @@ exports.init = function(dmx) { var app = http.createServer(handler) app.listen(dmx.config.port, '::', null, function() { try { - //process.setgid(dmx.config.gid); - //process.setuid(dmx.config.uid); + process.setgid(dmx.config.gid); + process.setuid(dmx.config.uid); } catch (err) { console.log(err); process.exit(1);