[PATCH] ensure Tor daemon files have correct permissions