From 07770b77a1250731e70dbe4f841a995174ab253c Mon Sep 17 00:00:00 2001 From: fanquake Date: Sun, 9 Apr 2023 21:59:04 +0200 Subject: [PATCH] Merge bitcoin/bitcoin#26741: doc: FreeBSD DataDirectoryGroupReadable Setting 499c46439418237a77c2a764cde47ad8dc893b0f doc: update DataDirectoryGroupReadable 1 in tor.md (Jesse Barton) Pull request description: Updating tor.md doc to include mention of FreeBSD requiring the DataDirectoryGroupReadable be set to 1. Default per the FreeBSD man page is 0. DataDirectoryGroupReadable 0|1 If this option is set to 0, don't allow the filesystem groupto readthe DataDirectory. If the option is setto 1, make the DataDirectory readable by the default GID. (Default:0) ACKs for top commit: vasild: ACK 499c46439418237a77c2a764cde47ad8dc893b0f Tree-SHA512: 8750b49cd04e900435c7991d1a24641fd1171227c1f14ed59afb157f24c1ca60380d30aecfb174ca46fd5b4b99dcdb3a1cfd019aafc343362e8103abf7c17e6a --- doc/tor.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/doc/tor.md b/doc/tor.md index 20c63a0158..b4c66f3406 100644 --- a/doc/tor.md +++ b/doc/tor.md @@ -100,19 +100,13 @@ out by default (if not, add them): ControlPort 9051 CookieAuthentication 1 CookieAuthFileGroupReadable 1 +DataDirectoryGroupReadable 1 ``` Add or uncomment those, save, and restart Tor (usually `systemctl restart tor` or `sudo systemctl restart tor` on most systemd-based systems, including recent Debian and Ubuntu, or just restart the computer). -On some systems (such as Arch Linux), you may also need to add the following -line: - -``` -DataDirectoryGroupReadable 1 -``` - ### Authentication Connecting to Tor's control socket API requires one of two authentication