19

I just installed the TorBrowser (v. 6.0.1) on my mac (OS 10.11.5) - went to the torproject page and downloaded the installer for mac. I am seeing instructions online about changing my torrc file in order to set which country I want to exit the Tor network from, but I can't find a file called torrc.

I've tried "locate torrc" but it doesn't find a file. I did find torrc-defaults in /Applications/TorBrowser.app/Contents/Resources/TorBrowser/Tor, but there's no plain old torrc file.

The Tor FAQ lists this:

If you installed Tor Browser, look for Browser/TorBrowser/Data/Tor/torrc inside your Tor Browser directory. On OS X, you must right-click or command-click on the Tor Browser icon, and select "Show Package Contents" before the Tor Browser directories become visible.

Tor puts the torrc file in /usr/local/etc/tor/torrc if you compiled tor from source, and /etc/tor/torrc or /etc/torrc if you installed a pre-built package.

I've looked in all those places and I'm not finding a file called torrc.

Jens Kubieziel
  • 8,630
  • 5
  • 35
  • 116
Joe Montibello
  • 461
  • 1
  • 3
  • 8

2 Answers2

17

I found it.

~/Library/Application Support/TorBrowser-Data/torrc

I got the info from a bug tracking ticket: https://trac.torproject.org/projects/tor/ticket/13252

Thanks to https://tor.stackexchange.com/users/12737/canonizing-ironize who gave a pointer to the ticket in the answer to another question.

Joe Montibello
  • 461
  • 1
  • 3
  • 8
2

I'm still curious why others find the TorBrowser-Data directory in ~/Library/Application Support/ while I have it in the same directory where I keep the TorBrowser.app (note same dir as the app not in the app bundle). I've moved my TorBrowser-Data dir into ~/Library/Application Support/ but I still need a symlink in the app folder to get to it. Otherwise launching the app just recreates a fresh copy of the TorBrowser-Data dir.

Maybe it has something to do with the fact I use Snow Leopard 10.6.7. It doesn't really bother me other than I'm just curious in the difference in behavior from others.

xyzzy
  • 116
  • 4