[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #3747 [Tor Client]: Tor can't create the ControlPortWriteToFile file if it is to be placed into the not-yet-existant datadir
#3747: Tor can't create the ControlPortWriteToFile file if it is to be placed into
the not-yet-existant datadir
------------------------+---------------------------------------------------
Reporter: Sebastian | Owner:
Type: defect | Status: new
Priority: major | Milestone: Tor: 0.2.2.x-final
Component: Tor Client | Version:
Keywords: | Parent:
Points: | Actualpoints:
------------------------+---------------------------------------------------
Comment(by rransom):
Replying to [comment:3 nickm]:
> So, how about we delay all "write the port" stuff until some point in
the process after setuid, and have it include "create parent directory as
needed" ?
We don't want to 'create parent directory as needed' -- the user may want
the list of control ports dumped somewhere other than Tor's DataDirectory,
and Tor doesn't normally create parent directories (e.g. `HiddenServiceDir
/var/lib/tor/hidservs/ssh` doesn't work until I create the `hidservs` and
`ssh` directories). But waiting until after Tor has created its
DataDirectory would be sufficient in this case.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3747#comment:5>
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