[tor-bugs] #26829 [Core Tor/Tor]: torspec: bandwidth file generators should write the file atomically

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jul 16 23:52:51 UTC 2018


#26829: torspec: bandwidth file generators should write the file atomically
-------------------------+-------------------------------------------------
     Reporter:  teor     |      Owner:  (none)
         Type:  defect   |     Status:  new
     Priority:  Medium   |  Milestone:  Tor: unspecified
    Component:  Core     |    Version:
  Tor/Tor                |   Keywords:  tor-dirauth, metrics, tor-bwauth,
     Severity:  Normal   |  torspec
Actual Points:           |  Parent ID:  #26797
       Points:           |   Reviewer:
      Sponsor:           |
-------------------------+-------------------------------------------------
 Generators should either:
 * write the file to a temporary location, then rename it to the final
 path, or
 * write the file to an archival location, then symlink it to the final
 path

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


More information about the tor-bugs mailing list