[tor-bugs] #7926 [Stem]: Avoid static /tmp usage

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Feb 1 20:38:51 UTC 2013


#7926: Avoid static /tmp usage
--------------------------+-------------------------------------------------
 Reporter:  atagar        |          Owner:  atagar      
     Type:  defect        |         Status:  needs_review
 Priority:  minor         |      Milestone:              
Component:  Stem          |        Version:              
 Keywords:  testing easy  |         Parent:              
   Points:                |   Actualpoints:              
--------------------------+-------------------------------------------------
Changes (by Abhishek Kumar Singh):

  * status:  new => needs_review


Comment:

 From http://docs.python.org/2/library/tempfile.html
 tempfile.mkdtemp() - "Creates a temporary directory in the most secure
 manner possible. There are no race conditions in the directory’s creation.
 The directory is readable, writable, and searchable only by the creating
 user ID."

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


More information about the tor-bugs mailing list