[issue21082] os.makedirs(exist_ok=True) is not thread-safe: umask is set temporary to 0, serious security problem
Antoine Pitrou
report at bugs.python.org
Fri Mar 28 10:47:27 CET 2014
Antoine Pitrou added the comment:
I think the behaviour that an error is raised if the permissions are not the same is a nuisance that does not correspond to actual use cases (*). People who care about permissions so much that they expect an error can do the check themselves, or call chmod().
(*) and I got similar errors several times when running setup.py, only I didn't know it was because of that "feature"
----------
nosy: +pitrou, terry.reedy
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21082>
_______________________________________
More information about the Python-bugs-list
mailing list