[tor-bugs] #20185 [Applications/Tor Browser]: Tor Browser alpha is broken on Linux (and probably OS X) if directory is nested too deep

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Oct 24 13:26:05 UTC 2016


#20185: Tor Browser alpha is broken on Linux (and probably OS X) if directory is
nested too deep
--------------------------------------+--------------------------------
 Reporter:  gk                        |          Owner:  tbb-team
     Type:  defect                    |         Status:  needs_revision
 Priority:  High                      |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Major                     |     Resolution:
 Keywords:  TorBrowserTeam201610      |  Actual Points:
Parent ID:  #14270                    |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+--------------------------------

Comment (by mcs):

 Replying to [comment:10 gk]:
 > The code breaks for me in `_createUniqueIPCDir()` adding some logging
 gives me:
 > {{{
 > TorLauncher NOTE: Failed to create unique dir: [Exception... "Component
 returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)
 [nsIFile.createUnique]"  nsresult: "0x80520015
 (NS_ERROR_FILE_ACCESS_DENIED)"  location: "JS frame ::
 resource://torlauncher/modules/tl-util.jsm ::
 TLUtilInternal._createUniqueIPCDir :: line 823"  data: no] with aBasePath
 /run/user/1000
 > }}}

 Hmm. We will try to reproduce what you are seeing. We probably should put
 a try/catch inside `_createUniqueIPCDir()` in any case.

 > + there are again some places where you mix blocks with and without
 braces in if-else statements.

 Sorry about that. You may have to correct us a few more times (old habits
 tend to persist).

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20185#comment:13>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list