I'm trying to set up a Tor relay on Debian Jessie. I edited the torrc file and set
RunAsDaemon 1. When I try to start tor with
sudo tor it returns this:
[warn] /var/lib/tor is not owned by this user (root, 0) but by debian-tor (110). Perhaps you are running Tor as the wrong user? [warn] Failed to parse/validate config: Couldn't access/create private data directory "/var/lib/tor" [err] Reading config failed--see warnings above.
How can I fix it?