[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:  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 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.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22101#comment:4>
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