[tor-bugs] #4881 [Tor Relay]: Relative paths for auth cookie

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Jan 10 19:57:28 UTC 2012


#4881: Relative paths for auth cookie
--------------------------+-------------------------------------------------
    Reporter:  atagar     |       Owner:                    
        Type:  defect     |      Status:  closed            
    Priority:  major      |   Milestone:  Tor: 0.2.2.x-final
   Component:  Tor Relay  |     Version:                    
  Resolution:  fixed      |    Keywords:  small-feature     
      Parent:             |      Points:                    
Actualpoints:             |  
--------------------------+-------------------------------------------------
Changes (by nickm):

  * status:  needs_review => closed
  * resolution:  => fixed


Comment:

 Great; merging.  The next release will be 0.2.3.11-alpha, so that should
 be the first one with this fix.

 Replying to [comment:5 atagar]:
 > I reported this issue on 1101 because it's both triggered by the same
 use case (a relative data directory path) and the fix I thought we would
 go with are the same (making tor internally track the data directory as an
 absolute path).
 >
 > We can certainly keep playing whack-a-mole with data directory path
 derived attributes, but wouldn't it be better to change this in
 'options_get_datadir_fname2_suffix' in config.c or wherever we set
 options->DataDirectory?

 Maybe in 0.2.4.x; it seems like a good idea to me, but it would affect a
 lot of things throughout the code, and I hate making changes with
 pervasive effects this late in the release cycle.  It's always the commits
 where I can't see how they would possibly break anything that wind up
 breaking something weirdly, badly.  I'll open another ticket for that one.

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


More information about the tor-bugs mailing list