[tor-bugs] #4347 [Tor bundles/installation]: Geoip parsing fails on user accounts under windows (was: Geoip parsing fails on limited user accounts under windows)

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Oct 31 14:58:28 UTC 2011


#4347: Geoip parsing fails on user accounts under windows
--------------------------------------+-------------------------------------
 Reporter:  bastik                    |          Owner:  erinn
     Type:  defect                    |         Status:  new  
 Priority:  normal                    |      Milestone:       
Component:  Tor bundles/installation  |        Version:       
 Keywords:  geoip, windows            |         Parent:       
   Points:                            |   Actualpoints:       
--------------------------------------+-------------------------------------
Changes (by bastik):

  * keywords:  geoip, limited user, windows => geoip, windows


Comment:

 This affects all users (admins as well as limited users)

 Add an option to all relay bundles: "Install for:" "- current installing
 admin" "-all users"
 then write the Geoip file to "C:\Users\Public", when the second option is
 used
 problably in a subdir \Tor\

 C:\Users\Public is a folder (On Windows 7) where any user can read and
 write.

 (When the option is not an option, the installer could place the Geoip
 file there always)

 Since Tor can access this folder it could update it. (Whenever this other
 ticket should get implement it.

 Quote: "why it would be a bad idea to put the geoip with the rest of the
 Tor installation in C:\Program Files [(x86) on some machines]? Is it a bad
 idea?"

 My first guess was that Tor creates the file in %APPDATA%, but the
 installer place the file there. I thought about that, too. That was my
 first solution and I wanted to announce this to you. But Sebastian told me
 about a ticket which suggests to update the geoip file through Tor. It's a
 good idea to place it there, when only the installer should place the file
 there and when only the installer should update the file.

 "C:\Users\Public" allows the installer to place it there and Tor(.exe)
 could update it as well. The only disadvantage I currently see is that any
 user could modify or delete the geoip file.

 It appears that the windows installer of Tor is able to detect whenever as
 user runs a 32bit or 64bit windows. Since it selects "Program Files (x86))
 automatically.

 While "C:\Users\Public" is present on Vista and Windows 7 (Don't know
 about Windows8) it's not under Windows XP there it is "C:\Documents and
 settings\All Users

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


More information about the tor-bugs mailing list