0

Doing ls -l /var/lib/tor I get the following:

Permissions user user

There are 14 more just like it. Is this normal? And if not, How do I remove them? Thanks for any help!

adriann
  • 31
  • 1
  • 7
  • How did you install tor, and what operating system are you using? – Steve Aug 14 '20 at 23:58
  • Hi Steve, thank you! I'm trying to run a relay on a droplett using Ubuntu 18.4. If I understand correctly, shouldn't /var/lib/tor be owned by debian-tor? – adriann Aug 16 '20 at 02:39

1 Answers1

0

Yes that directory (and all files in it) should be owned by debian-tor if you installed tor using apt.

You should be able to fix that with sudo chown -R debian-tor:debian-tor /var/lib/tor. But first make sure that tor is running under the same user by checking that ps -o user= -p $(pgrep -x tor) returns debian-tor.

Steve
  • 3,152
  • 1
  • 8
  • 17