I've tried to set up a tor hidden service on /var/hidden.

And after chmod-ing it to 777 and chown-ing it to debian-tor it still won't work. Why is that? Why doesn't it have permission to write to that directory and it has to write the default /var/lib/tor?

  • Are there any error messages in the logfile? If yes, please post them here.
    – Jens Kubieziel
    Dec 20 '13 at 13:49
  • Also, the configuration for your hidden service from torrc might be helpful.
    – Sam Whited
    Dec 20 '13 at 15:02

If you are on Ubuntu, then the apparmor policy will prevent writes anywhere but in /var/lib/tor.

I made a /var/lib/tor/hidden-services on my machines; that might work for you too.

You could also modify the apparmor policy, or disable apparmor.

PS: 777 is probably a bad idea.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.