classification
Title: Distutils' mkpath implementation ignoring the "mode" parameter
Type: resource usage
Components: Distutils Versions: Python 2.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: gward Nosy List: gward, henrique, jafo
Priority: normal Keywords: easy, patch

Created on 2008-03-04 20:56 by henrique, last changed 2008-03-20 16:25 by jafo.

Files
File name Uploaded Description Edit Remove
python2.5-distutils_mkpath_filemode.v1.diff henrique, 2008-03-04 20:56 Patch
Messages
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?
History
Date User Action Args
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