Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.