[issue14702] os.makedirs breaks under autofs directories

Hynek Schlawack report at bugs.python.org
Wed May 16 21:21:43 CEST 2012


Hynek Schlawack <hs at ox.cx> added the comment:

I guess this is the magic in mkdir -p:

mkdir("expert", 0755)                   = -1 EACCES (Permission denied)
chdir("expert")                         = 0
mkdir("tmp", 0755)                      = -1 EEXIST (File exists)

I'm not sure how I feel about that. I think we have more or less a policy in os & shutil not to change directories unless really necessary (like make_archive).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14702>
_______________________________________


More information about the Python-bugs-list mailing list