Bug fix: need to change_privilege after starting daemon, not before.