title: What is wrong with my TOR?
body: <p>I'm the operator of the XMPP server on darkness.su.The server runs on Centos 6.</p>
  
  <p>I installed TOR and configured it to provide a hidden service access to the server.It was working fine at first,but ever since an update a few months ago it started giving me these errors:</p>
  
  <pre><code>    799  May 25 14:19:37.060 [warn] Permissions on directory /var/lib/tor/hidden_service are too permissive.
    800  May 25 14:19:37.060 [warn] Failed to parse/validate config: Failed to configure rendezvous options. See logs for details.
    801  May 25 14:19:37.060 [err] Reading config failed--see warnings above.
  </code></pre>
  
  <p>I tried to check the logs,but I can't find them,and setting one doesn't seem to work.I've tried removing TOR and wiping all its folder,then reinstalling it.Same thing.</p>
  
  <p>I'm installing through yum from TOR Project's repository.</p>
  
  <p>With chmod 700 on the hidden service directory(owned by TOR):</p>
  
  <pre><code>Jul 24 21:39:05.573 [warn] Directory /var/lib/tor/hidden_service/ cannot be read: Permission denied
  Jul 24 21:39:05.573 [warn] Failed to parse/validate config: Failed to configure rendezvous options. See logs for details.
  Jul 24 21:39:05.573 [err] Reading config failed--see warnings above
  </code></pre>
  
  <p>After changing directory owner to root:</p>
  
  <pre><code>Jul 24 22:11:36.236 [warn] /var/lib/tor/hidden_service/ is not owned by this user (_tor, 496) but by root (0). Perhaps you are running Tor as the wrong user?
  Jul 24 22:11:36.236 [warn] Failed to parse/validate config: Failed to configure rendezvous options. See logs for details.
  Jul 24 22:11:36.236 [err] Reading config failed--see warnings above.
  </code></pre>