#4689 NORM Never A: Rainbow-0.7.1 directory creation bug?

Zarro Boogs per Child bugtracker at laptop.org
Tue Nov 6 10:18:47 EST 2007


#4689: Rainbow-0.7.1 directory creation bug?
----------------------+-----------------------------------------------------
 Reporter:  mleech    |       Owner:  mstone            
     Type:  defect    |      Status:  new               
 Priority:  normal    |   Milestone:  Never Assigned    
Component:  security  |     Version:  Git as of bug date
 Keywords:            |    Verified:  0                 
----------------------+-----------------------------------------------------
 Since os.mkdir() applies the umask to created directories, which is used
 inside util/paths.py:make_dirs(), the mode of the created directory may
 not be what was intended by the calling code.

 I fixed this in a pre 0.7.1 candidate piece by using an explicit
 os.chmod() after the directory had been created and os.chown()ed.

-- 
Ticket URL: <http://dev.laptop.org/ticket/4689>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list