[tor-bugs] #27604 [Applications/Tor Browser]: Relocating the Tor Browser directory is broken with Tor Browser 8

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jun 24 09:07:14 UTC 2019


#27604: Relocating the Tor Browser directory is broken with Tor Browser 8
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:  new
 Priority:  Medium                               |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-8.0-issues, tbb-regression,      |  Actual Points:
  tbb-8.0.1-can, TorBrowserTeam201906            |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by gk):

 * keywords:  tbb-8.0-issues, tbb-regression, tbb-8.0.1-can =>
     tbb-8.0-issues, tbb-regression, tbb-8.0.1-can, TorBrowserTeam201906


Comment:

 Replying to [comment:10 teconmoon]:
 > A more permanent workaround for me was to delete extensions.json, create
 an empty 0 KB file in its place, and mark it as read-only. That forced the
 browser to use a temporary extensions.json for each session, and kept me
 from having to delete the file every time the directory changed.

 Wow, that's painful. I guess what we could do is patching
 `XPIProviderUtils.js`'s `parseDB()` and add a sanity check making sure the
 path of the extensions in the DB exists. If not we need to recreate the
 DB. I suspect that would be something Mozilla would take if we upstreamed
 it.

 We could as well just delete the json file during browser shutdown.
 However, that seems to be a bit too excessive.

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


More information about the tor-bugs mailing list