Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After installing tor, then logging off and back on, I receive the error message:

Warning Before Tor can create a control socket in "/var/run/tor/control", the directory "/var/run/tor" needs to exist, and to be accessible only by the user account that is running Tor

share|improve this question

You need to create the directory. So open a terminal and enter the following commands:

sudo mkdir /var/run/tor
sudo chown debian-tor:debian-tor /var/run/tor
sudo chmod 2750 /var/run/tor

This command creates the directory and changes the owner to debian-tor. The last line changes the permissions to the correct values.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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