-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update for high sierra + Tor 0.3.2.9 #2
Open
redshiftzero
wants to merge
2
commits into
b4rton:master
Choose a base branch
from
redshiftzero:update-for-high-sierra
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Due to System Integrity Protection on macOS, you cannot pass binaries like curl into torify. To use curl, you can just specify the proxy instead. See: https://trac.torproject.org/projects/tor/ticket/17980
In case you missed it, I sent this reply on Signal. Basically I can't do the installation because something is messing up Tor on my system. I hunted down every remnant of Tor, I thought, and rm -rf'd it, then installed only Tor Browser to test. I have a notion there's an ownership problem with a file or directory but I'm not sure. Sorry to take more of your time, but I'm stuck.
# After installing Tor Browser, there's no TorBrowser-Data directory
ENTER NEW COMMAND (/Library/Application Support) > ls /Library/Application\ Support/ | grep Tor
ENTER NEW COMMAND (/Library/Application Support) >
# So I make one
ENTER NEW COMMAND (/Library/Application Support) > mkdir /Library/Application\ Support/TorBrowser-Data
mkdir: /Library/Application Support/TorBrowser-Data: Permission denied
ENTER NEW COMMAND (/Library/Application Support) >
# ... which requires root
ENTER NEW COMMAND (/Library/Application Support) > sudo mkdir /Library/Application\ Support/TorBrowser-Data
Password:
ENTER NEW COMMAND (/Library/Application Support) > sudo mkdir /Library/Application\ Support/TorBrowser-Data/Tor
ENTER NEW COMMAND (/Library/Application Support) > ls /Library/Application\ Support/ | grep Tor
TorBrowser-Data
# Then I copy in (what was) a good copy of torrc
ENTER NEW COMMAND (/Library/Application Support) > sudo cp /Users/red/Desktop/tor/torrc /Library/Application\ Support/TorBrowser-Data/Tor
Password:
ENTER NEW COMMAND (/Library/Application Support) > ls /Library/Application\ Support/TorBrowser-Data/Tor
torrc
# Then I launch Tor Browser and get the same error as before
"Unable to start Tor. The torrc file is missing and could not be created."
# When I click OK, I get
"Could not connect to Tor control port."
# I suppose this could be a bad torrc file and I'm glad to send mine if you want.
# But the fact that the browser can't even see the torrc file I just created suggests a permissions issue to me. What should be the permissions on the relevant files/directories? If they should change would you give me the exact chown command? Is this a system integrity protection issue? Should I be using /User/Library instead of /Library?
# Oh, yeah. Adding:
ENTER NEW COMMAND (/Library/Application Support) > ls -ll /Library/Application\ Support/TorBrowser-Data/Tor
total 32
-rw-r--r--@ 1 root admin 12716 Feb 5 10:41 torrc
… On Feb 3, 2018, at 12:12 PM, redshiftzero ***@***.***> wrote:
Ran through these instructions and updated for High Sierra and Tor 0.3.2.9 - let me know if you have issues
You can view, comment on, or merge this pull request online at:
#2 <#2>
Commit Summary
Fix curl command for System Integrity Protection
Tested on 0.3.2.9
File Changes
M README.md <https://github.com/b4rton/osx-tor/pull/2/files#diff-0> (14)
Patch Links:
https://github.com/b4rton/osx-tor/pull/2.patch <https://github.com/b4rton/osx-tor/pull/2.patch>
https://github.com/b4rton/osx-tor/pull/2.diff <https://github.com/b4rton/osx-tor/pull/2.diff>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#2>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AGxAFqv80UY5HIde1h_ydBACvzkkaBLVks5tRJNmgaJpZM4R4Pjm>.
|
b4rton
approved these changes
Feb 12, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the help.
b4rton
approved these changes
Feb 12, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ran through these instructions and updated for High Sierra and Tor 0.3.2.9 - let me know if you have issues