Fix permission problem related to Issue 477
authorMichele Tartara <mtartara@google.com>
Fri, 12 Jul 2013 16:12:24 +0000 (16:12 +0000)
committerMichele Tartara <mtartara@google.com>
Thu, 18 Jul 2013 08:35:01 +0000 (08:35 +0000)
commite455a3e82c7473defd4c6cb586f4203277d0a2cd
treed52c8e8abdca9d6938e371eff254304c48326842
parenta39cd547d3530d28c5aaeaed43cf452e70dab625
Fix permission problem related to Issue 477

Commit 91525dee856951ace940c78b6254a1c7344b4803 fixed Issue 477 but broke
"gnt-cluster info".

This commit offers a solution to both problems, by changing the permission
of the socket instead of changing the permission the confd process is run
with.

Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
daemons/daemon-util.in
src/Ganeti/Luxi.hs
src/Ganeti/Query/Server.hs
test/hs/Test/Ganeti/Luxi.hs