[tor-bugs] #27335 [Core Tor/Tor]: Tor bug when hs directory is missing
    Tor Bug Tracker & Wiki 
    blackhole at torproject.org
       
    Fri Sep 14 13:37:55 UTC 2018
    
    
  
#27335: Tor bug when hs directory is missing
--------------------------+------------------------------------
 Reporter:  traumschule   |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.3.5.x-final
Component:  Core Tor/Tor  |        Version:  Tor: 0.3.4.6-rc
 Severity:  Normal        |     Resolution:
 Keywords:  tor-hs        |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------
Comment (by dgoulet):
 Ok so another thing pointed out by traumschule on IRC.
 We shouldn't have the `BUG()` there because it will fail if the directory
 did not exists before. In `hs_config.c`, we don't try to create it so the
 check will pass if it doesn't exists, and then when loading the keys,
 we'll create the directory but we could still have the permission issues
 leading to the `BUG()` being triggered but shouldn't have.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27335#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
    
    
More information about the tor-bugs
mailing list