[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #22101 [Core Tor/Tor]: Can't have relative DataDirectory with CookieAuthentication enabled
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs