[tor-bugs] #22101 [Core Tor/Tor]: Can't have relative DataDirectory with CookieAuthentication enabled

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed May 3 01:55:21 UTC 2017


#22101: Can't have relative DataDirectory with CookieAuthentication enabled
--------------------------+------------------------------------
 Reporter:  pastly        |          Owner:
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by teor):

 Replying to [comment:4 pastly]:
 > Replying to [comment:2 Jigsaw52]:
 > > There may more bugs similar to this, as any call to get_datadir_fname
 after CURRENT_DIR is changed will result in the wrong path when a relative
 path is used for the DataDirectory.
 >
 >
 > Replying to [comment:3 teor]
 > > I think we should make get_datadir_fname() return an absolute path. We
 need to do this when we change CURRENT_DIR, but maybe we should always do
 it for consistency.
 >
 >
 > (IMHO and without looking into it any more than the bug reports I've
 already made) it is starting to sound like this is also causing #22102.
 Perhaps there's a whole sea of buggy assumptions that could be squashed in
 one fell swoop.

 There's at least one more for the PidFile, too.

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


More information about the tor-bugs mailing list