[tor-bugs] #4885 [Tor Client]: Make all paths absolute

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Jan 10 20:10:56 UTC 2012


#4885: Make all paths absolute
-------------------------+--------------------------------------------------
 Reporter:  nickm        |          Owner:                    
     Type:  enhancement  |         Status:  new               
 Priority:  normal       |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor Client   |        Version:                    
 Keywords:               |         Parent:                    
   Points:               |   Actualpoints:                    
-------------------------+--------------------------------------------------

Comment(by atagar):

 One minor thing to think about is how this would work with GETCONF /
 SETCONF / SAVECONF. If the DataDirectory is converted to an absolute path
 right after reading the torrc or a SETCONF then other use cases will have
 issues. For instance...

 - User runs TBB.
 - Vidalia issues a SAVECONF, converting their once relative DataDirectory
 to be absolute.
 - The TBB directory is moved and TBB is run again, causing a DataDirectory
 will be created at the old location.

 Making 'options_get_datadir_fname2_suffix' expand the paths might avoid
 those issues - haven't looked.

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


More information about the tor-bugs mailing list