Merge bitcoin/bitcoin#26741: doc: FreeBSD DataDirectoryGroupReadable Setting

499c464394 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 499c464394

Tree-SHA512: 8750b49cd04e900435c7991d1a24641fd1171227c1f14ed59afb157f24c1ca60380d30aecfb174ca46fd5b4b99dcdb3a1cfd019aafc343362e8103abf7c17e6a
This commit is contained in:
fanquake 2023-04-09 21:59:04 +02:00
commit d544d03ba6
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -92,19 +92,13 @@ out by default (if not, add them):
ControlPort 9051 ControlPort 9051
CookieAuthentication 1 CookieAuthentication 1
CookieAuthFileGroupReadable 1 CookieAuthFileGroupReadable 1
DataDirectoryGroupReadable 1
``` ```
Add or uncomment those, save, and restart Tor (usually `systemctl restart tor` Add or uncomment those, save, and restart Tor (usually `systemctl restart tor`
or `sudo systemctl restart tor` on most systemd-based systems, including recent or `sudo systemctl restart tor` on most systemd-based systems, including recent
Debian and Ubuntu, or just restart the computer). 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 ### Authentication
Connecting to Tor's control socket API requires one of two authentication Connecting to Tor's control socket API requires one of two authentication