Skip to content
Snippets Groups Projects
Unverified Commit ba9f0db0 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

services: tor: Make sure /var/lib is world-readable.

* gnu/services/networking.scm (tor-hidden-service-activation): Add
'chmod' call for /var/lib.
parent 222222be
No related branches found
No related tags found
No related merge requests found
......@@ -467,6 +467,9 @@ (define (initialize service)
(chown "/var/lib/tor" (passwd:uid %user) (passwd:gid %user))
(chmod "/var/lib/tor" #o700)
;; Make sure /var/lib is accessible to the 'tor' user.
(chmod "/var/lib" #o755)
(for-each initialize
'#$(map hidden-service-name
(tor-configuration-hidden-services config)))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment