Make installation more robust and run daemons as non-root.