As I commented on the blog, moving the line that reads (subpath "/usr/lib") within tb.sb from the (allow file-read-metadata ... ) section to the (allow file-read* ...) section seems to fix the problem.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
b0x:Sandboxed Tor Browser admin$ ./start-browser-with-sandbox &[2] 6065Thunder:Sandboxed Tor Browser admin$ [warn] kq_init: detected broken kqueue; not using.: Undefined error: 02016-12-15 19:25:50.288 firefox[6070:278989] kCFURLVolumeIsAutomountedKey missing for file://localhost/Volumes/Tor%20Browser/: The file “Tor Browser” couldn’t be opened because you don’t have permission to view it.1481822750600 addons.xpi-utils ERROR Unable to read anything useful from the database0 migrated.Dec 15 19:25:52.000 [notice] New control connection opened.Dec 15 19:25:52.000 [warn] Got authentication cookie with wrong length (0)Dec 15 19:25:52.000 [notice] New control connection opened.2016-12-15 17:25:54.748 firefox[6070:278987] unable to obtain configuration from file://localhost/Library/Preferences/com.apple.ViewBridge.plist due to Error Domain=NSCocoaErrorDomain Code=257 "The file “com.apple.ViewBridge.plist” couldn’t be opened because you don’t have permission to view it." UserInfo={NSFilePath=/Library/Preferences/com.apple.ViewBridge.plist, NSUnderlyingError=0x7f8f0e911220 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}2016-12-15 17:25:54.754 firefox[6070:278987] IMKInputSession presentFunctionRowItemTextInputViewWithEndpoint:completionHandler: : *NO* NSRemoteViewController to client, NSError=Error Domain=NSCocoaErrorDomain Code=4097 "connection from pid 0" UserInfo={NSDebugDescription=connection from pid 0}, com.apple.inputmethod.EmojiFunctionRowItem
This message from tor is strange:
Dec 15 19:25:52.000 [warn] Got authentication cookie with wrong length (0)
I do not know what file://localhost/Library/Preferences/com.apple.ViewBridge.plist is used for. And also there is a mention of com.apple.inputmethod.EmojiFunctionRowItem.
I wonder if a third party system extension is installed, or maybe just a different keyboard layout is being used.
It would also be helpful to know what the symptoms are from the browser/user perspective. Does the browser open a window? Does the about:tor page show that Tor is not working? What happens if you try to load a website?
There are no 3d party system extensions, I use the 2016 Macbook Pro 15' (with the Touch Bar)
so that is what com.apple.inputmethod.EmojiFunctionRowItem is.
Not sure about file://localhost/Library/Preferences/com.apple.ViewBridge.plist but why Tor Browser needs it anyway?
I hope there is a way to make this input method blocked in TorBrowser, since the way I see it it's just another potential fingerprinting issue of users with Touch Bar.
The Tor Browser window opens but Tor button is red, like when the Tor Daemon is down.
Nothing loads obviosuly.
Chromium has this plist in this array:
;; Open and Save panels
(define (webkit-powerbox)
(allow file-read* (literal "/Library/Preferences/com.apple.ViewBridge.plist"))
(allow file-read* file-write* (extension "com.apple.app-sandbox.read-write"))
(allow file-issue-extension
(require-all
(extension-class "com.apple.app-sandbox.read")
(extension "com.apple.app-sandbox.read-write"))
(require-all
(extension-class "com.apple.app-sandbox.read-write")
(extension "com.apple.app-sandbox.read-write"))))
There are no 3d party system extensions, I use the 2016 Macbook Pro 15' (with the Touch Bar)
so that is what com.apple.inputmethod.EmojiFunctionRowItem is.
Not sure about file://localhost/Library/Preferences/com.apple.ViewBridge.plist but why Tor Browser needs it anyway?
It is difficult to know, but it may be related to the Touch Bar.
I hope there is a way to make this input method blocked in TorBrowser, since the way I see it it's just another potential fingerprinting issue of users with Touch Bar.
It is unclear whether webpages can tell that the Touch Bar is available, but if they can there may be a fingerprinting issue.
The Tor Browser window opens but Tor button is red, like when the Tor Daemon is down.
Nothing loads obviosuly.
Chromium has this plist in this array:
;; Open and Save panels
(define (webkit-powerbox)
(allow file-read* (literal "/Library/Preferences/com.apple.ViewBridge.plist"))
...
Thanks! Are you willing to do some experiments for us? First, remove the following lines from tb.sb (otherwise, a new browser profile is created each time, which is not good):
; Disallow writes to the profiles ini file. (deny file-write* (torbrowser-data-dir-subpath "/Browser/profiles.ini") )
Then remove your TorBrowser-Data/Browser directory to delete any extra profiles.
Next, see what happens if you add the following line to tb.sb:
(allow file-read* (literal "/Library/Preferences/com.apple.ViewBridge.plist"))
If you still cannot visit any websites using the browser, edit your prefs.js file (TorBrowser-Data/Browser/*.default/prefs.js) and add the following lines:
I took the patch (commit f55cbeea243675db8acf1015ca7e1ceed39f0933 on master). mactoruser: feedback and testing is still appreciated if you have some time to do so. Thanks!
Trac: Resolution: N/Ato fixed Status: needs_review to closed