This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lars.gustaebel
Recipients
Date 2006-12-31.11:52:05
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I've come to the conclusion that it is a doubtful approach to take the mtime and ownership from the file and use it on the upper directories as well. So, I've come up with a totally different solution (cp. makedirs.diff) that abandons the use of os.umask() completely and uses a single call to os.makedirs() to create the missing directories.
It seems very attractive to me to do it this way, what do you think?
File Added: makedirs.diff
History
Date User Action Args
2007-08-23 15:52:52adminlinkissue1507247 messages
2007-08-23 15:52:52admincreate