[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[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 | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+--------------------------
Using Tor {{{0.2.8.6}}} from deb.torproject.org,
{{{/var/run/tor/control}}} is no longer created because of a permission
issue. As a manual workaround, {{{sudo chmod --recursive 700
/var/run/tor}}} works.
The symptom in Tor's log is the following:
{{{
Aug 03 17:36:33.000 [warn] Permissions on directory /var/run/tor are too
permissive.
}}}
Rather than {{{755}}} Tor's {{{/lib/systemd/system/tor@default.service}}}
should use {{{700}}}. I.e. rather than using:
{{{
ExecStartPre=/usr/bin/install -Z -m 02755 -o debian-tor -g debian-tor -d
/var/run/tor
}}}
{{{/lib/systemd/system/tor@default.service}}} should use:
{{{
ExecStartPre=/usr/bin/install -Z -m 02700 -o debian-tor -g debian-tor -d
/var/run/tor
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19824>
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