[tor-bugs] #20456 [Core Tor/Tor]: Relative paths don't work for PidFile and control_auth_cookie

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Oct 25 12:02:19 UTC 2016


#20456: Relative paths don't work for PidFile and control_auth_cookie
------------------------------+--------------------------
     Reporter:  teor          |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:  Tor: 0.2.8.9
     Severity:  Normal        |   Keywords:  regression?
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------
 When I use relative paths in my torrc, tor tells me what it will use for
 the PidFile, and then claims it can't find it.
 It also has a similar issue with a relative data directory and
 control_auth_cookie.

 {{{
 Oct 25 11:24:12.784 [warn] Path for PidFile (./data/tor.2/tor.pid) is
 relative and will resolve to
 /home/ubuntu/bwauth/torflow/NetworkScanners/BwAuthority/./data/tor.2/tor.pid.
 Is this what you wanted?
 ...
 Oct 25 11:24:12.000 [warn] Unable to open "./data/tor.2/tor.pid" for
 writing: No such file or directory
 Oct 25 11:24:12.000 [warn] Couldn't open
 "./data/tor.2/control_auth_cookie.tmp" (./data/tor.2/control_auth_cookie)
 for writing: No such file or directory
 }}}

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


More information about the tor-bugs mailing list