[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #29499 [- Select a component]: permission error: nyx requires executable permission bit for `/var/lib/tor`
#29499: permission error: nyx requires executable permission bit for `/var/lib/tor`
--------------------------+--------------------------------------
Reporter: cypherpunks | Owner: (none)
Type: defect | Status: new
Priority: Very Low | Component: - Select a component
Version: Tor: 0.3.4.9 | Severity: Minor
Keywords: nyx | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+--------------------------------------
Offending logs from strace:
{{{
stat("/var/lib/tor/control_auth_cookie", 0x7ffca7ba61f0) = -1 EACCES
(Permission denied)
stat("/var/lib/tor/control_auth_cookie", 0x7ffca7ba61f0) = -1 EACCES
(Permission denied)
write(1, "We were unable to read tor's aut"..., 176We were unable to read
tor's authentication cookie...
Path: /var/lib/tor/control_auth_cookie
Issue: Authentication failed: '/var/lib/tor/control_auth_cookie' doesn't
exist) = 176
}}}
Permissions on /var/lib/tor:
{{{ drwx------ 3 tor tor 4.0K Feb 14 17:04 tor }}}
Permissions for cookie file:
{{{ -rw-r----- 1 tor tor 32 Feb 13 06:36 control_auth_cookie }}}
A quick fix on the user part is to add the executable bit for group, but
in general the cookie file should be accessible without the executable bit
set so as long as the cookie file is configured to be readable by group
(i.e. 'CookieAuthFileGroupReadable 1' written in /etc/tor/torrc).
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29499>
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