classification
Title: Distutils' mkpath implementation ignoring the "mode" parameter
Type: behavior Stage:
Components: Distutils Versions: Python 3.1, Python 3.0, Python 2.7, Python 2.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: gward Nosy List: akitada, gward, henrique, jafo, tarek (5)
Priority: normal Keywords: easy, patch

Created on 2008-03-04 20:56 by henrique, last changed 2009-02-04 23:45 by akitada.

Files
File name Uploaded Description Edit Remove
python2.5-distutils_mkpath_filemode.v1.diff henrique, 2008-03-04 20:56 Patch
Messages (3)
msg63259 - (view) Author: Henrique Romano (henrique) Date: 2008-03-04 20:56
The default value for mkpath's mode parameter is 0777 but it isn't used
at any place; attached is a patch that just pass the parameter to
os.mkdir call, this seems to fix the problem.
msg64177 - (view) Author: Sean Reifschneider (jafo) Date: 2008-03-20 16:25
This patch looks good to me.  Greg?
msg81180 - (view) Author: Akira Kitada (akitada) Date: 2009-02-04 23:45
Still present in 2.6/3.0
History
Date User Action Args
2009-02-04 23:45:07akitadasetnosy: + tarek, akitada
type: resource usage -> behavior
messages: + msg81180
versions: + Python 2.6, Python 3.0, Python 3.1, Python 2.7, - Python 2.5
2008-03-20 16:25:13jafosetnosy: + gward, jafo
messages: + msg64177
priority: normal
assignee: gward
components: + Distutils, - Library (Lib)
keywords: + easy
2008-03-04 20:56:48henriquecreate