[tor-bugs] #7956 [Tor]: Tor uses Roaming (remote) %APPDATA% instead of %LOCALAPPDATA%

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Nov 17 17:46:50 UTC 2013


#7956: Tor uses Roaming (remote) %APPDATA% instead of %LOCALAPPDATA%
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:
  cypherpunks            |     Status:  new
         Type:  defect   |  Milestone:  Tor: 0.2.5.x-final
     Priority:  major    |    Version:  Tor: unspecified
    Component:  Tor      |   Keywords:  tor-client win32 024-backport
   Resolution:           |  AppData Roaming Local Windows
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+-------------------------------------------------

Comment (by erinn):

 Okay, I have another update. The problem was the RequestExecutionlevel
 user, but also the fact that the default $INSTDIR was $PROGRAMFILES. I
 have updated the bundle to use $LOCALAPPDATA/Tor for $INSTDIR so that it
 will install ''everything'' to $LOCALAPPDATA and run properly. This will
 not work for multi-user accounts, but I think that is at this point such a
 small userbase that for a preliminary alpha release that it is fine and we
 can revisit if anyone complains. These won't work on non-64-bit systems so
 we need to make sure that is mentioned during release. :)

 So to recap, here is what's included in this test bundle:
 - Tor 0.2.5.1-alpha
 - 64-bit deterministically built tor.exe
 - hardening (DEP/ASLR)
 - OpenSSL with NIST curves
 - everything installed to and writing to $LOCALAPPDATA
 - --enable-local-appdata flag for Tor

 I'd appreciate it if anyone can look it over. Regardless of your inability
 to run the .exe it should install properly on everything from win98 -
 current Windows. (Shout out to bobnomnom for testing on Win98 and WinXP!
 Plus all his help with debugging.) Once this is confirmed working for
 everyone, we can begin to investigate fixing the win32 bundles to do the
 same thing, and a migration path. Here's the test bundle:

 https://people.torproject.org/~erinn/qa/tor-0.2.5.1-alpha-dev-
 win32-localappdata.exe
 2b496ac784582359b7e6d5cfe992e2779accba1b27f8a2bf4b40d15a02cea7eb

 BTW: the tor.exe in here is statically built because the installation
 scripts expect that. I can change it (longer-term that is better so the
 tor.exe in these bundles also matches the ones in TBB et al), but that
 takes more installation script fixing and gitian interaction. I'll also
 make sure to rename the file to use win64 next time. :) And will put
 everything in git soon.

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


More information about the tor-bugs mailing list