[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[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:                    
------------------------+---------------------------------------------------
 assuming one launches tor like this:

 tor DataDirectory /tor ControlPort auto ControlPortWriteToFile
 /tor/port.conf

 and /tor doesn't exist yet, tor will warn that it couldn't write
 port.conf. It will afterwards happily create /tor, and if you rerun the
 command everything will work fine. That's kind of weird. We could decide
 this isn't a tor bug, and any path you pass to ControlPortWriteToFile must
 exist, but that's a bit inconsistent with our other *File options which
 will work that way, because they happen to be interpreted after the
 datadir is created. So I think we should decide this is a tor bug. Why are
 we opening ports before making our data dir anyway? Due to the need to
 drop permissions?

 Marking this as major as it blocks a new package release with Vidalia
 0.2.13

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