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

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu May 4 22:29:31 UTC 2017


#22101: Can't have relative DataDirectory with CookieAuthentication enabled
--------------------------+------------------------------------
 Reporter:  pastly        |          Owner:
     Type:  defect        |         Status:  needs_review
 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:
--------------------------+------------------------------------
Changes (by Jigsaw52):

 * status:  new => needs_review


Comment:

 I wrote a patch to make get_datadir_fname() always returns an absolute
 path.
 I save the current directory in the tor_init function and use it to create
 the absolute path.

 Here is my branch:
 https://github.com/Jigsaw52/tor/tree/relative_path_fix_22101

 Also, I believe this is also causing #20456.

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


More information about the tor-bugs mailing list