I just took a peek in our faqs to see if there was a "Where is my data directory?" entry I could link to. We don't seem to have one, and tor's man page says "Store working data in DIR (Default: @LOCALSTATEDIR@/lib/tor)". I have no clue what that macro expands to, nor would I expect users to. :)
If we can't clarify the manual page then this seems like something we should include in our FAQ since it in turn defines the path of our authentication cookie among other things.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items
0
Link issues together to show that they're related.
Learn more.
I have a $USER/.tor directory and a /var/lib/tor directory, but the latter has newer information. I'm wondering if it's normal to have both directories.
The sample torrc file's explanation of the DataDirectory entry says "By default, we store things in $HOME/.tor on Unix". Is this still accurate? (Because it sounds like you just said something else.)
It's /usr/local/var/lib/tor if you compile from source, right?
How do you feel about adding a section division at the bottom of the web man page with some typical values for @CONFDIR@ and @LOCALSTATEDIR@?
It is also mentioned under #ConfigureRelayOrBridge:
Second (complex option), you can edit your torrc file (in Data/Tor/torrc)
And #torrc had:
If you installed Tor Browser on Windows or Linux, look for
Browser/TorBrowser/Data/Tor/torrc inside your Tor Browser
directory.
The data directory answer doesn't cover all the possible data directory locations.
For example, it's missing the macOS TBB location.
Please provide the data directory location for every torrc location mentioned in the torrc section.
You also added the $HOME/.tor data directory location, but there's no corresponding torrc location.
But if you duplicate all the TBB information, it might get out of sync.
It might be better to update each torrc alternative so that it covers the data directory as well.
For example:
If you installed Tor Browser on Windows or Linux, the torrc file is in the data directory, which is Browser/TorBrowser/Data/Tor inside your Tor Browser directory.
Otherwise, if you are using Tor without Tor Browser … package. For most systems, the data directory is /var/lib/tor/.
Please also consistently use code tags throughout the answer, rather than using var tags for new content.