services: tor: Make sure /var/lib is world-readable.
* gnu/services/networking.scm (tor-hidden-service-activation): Add 'chmod' call for /var/lib.
This commit is contained in:
parent
222222be63
commit
ba9f0db08c
|
@ -467,6 +467,9 @@ HiddenServicePort ~a ~a~%"
|
|||
(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)))))
|
||||
|
|
Loading…
Reference in New Issue