guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#47155] [PATCH] gnu: Respect DataDirectoryGroupReadable option of to


From: Jean Pierre De Jesus DIAZ
Subject: [bug#47155] [PATCH] gnu: Respect DataDirectoryGroupReadable option of tor.
Date: Tue, 27 Dec 2022 11:52:55 +0000

>+                (when #$control-port?
>+                  (format port
>+                          "\
>+ControlPort ~a
>+CookieAuthentication 1
>+CookieAuthFileGroupReadable 1
>+DataDirectoryGroupReadable 1\n"

Maybe instead of a port, we can have separate options for `control-port',
and `cookie-authentication?'.  As IIUC cookie authentication can still be
used with a control UNIX domain socket.

>+                          #$(if (eq? control-port? #t)
>+                                9051
>+                                control-port?)))

As a side note, the `if' can be removed and the port put in place into
the string directly.  But would prefer an option in the configuration
record for the control port.


—
Jean-Pierre De Jesus DIAZ






reply via email to

[Prev in Thread] Current Thread [Next in Thread]