[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #19824 [Core Tor/Tor]: /var/run/tor/control socket not created because of /var/run/tor permission issue
#19824: /var/run/tor/control socket not created because of /var/run/tor permission
issue
--------------------------+------------------------------
Reporter: adrelanos | Owner:
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version: Tor: 0.2.8.6
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------
Comment (by adrelanos):
I emptied my torrc for testing purposes, restarted tor, still getting
this. (Didn't happen with earlier Tor versions.) Still trying to figure
what makes the difference on my system.
{{{
Aug 03 21:56:34.000 [warn] Permissions on directory /var/run/tor are too
permissive.
Aug 03 21:56:34.000 [warn] 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 and group account that is running Tor.
(On some Unix systems, anybody who can list a socket can connect to it, so
Tor is being careful.)
}}}
-----
In {{{tor.postinst}}} you are using {{{chmod 02750 /var/run/tor}}} but for
systemd you are using {{{02755}}}. Is that supposed to be like that?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19824#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs