Hynek Schlawack <h...@ox.cx> added the comment:

Charles, I don't think you can blame autofs here. The problem at hand is that 
makedirs() never checks whether the directory exists (that would trigger the 
mount too I presume). Instead, it tries a mkdir and looks if it gets an EEXIST.

If you try that approach in this case where /net is non-writable and 
/net/prodigy appears only on demand, it fails with an EPERM instead.

Have a look at http://hg.python.org/cpython/file/8215aaccc9dd/Lib/os.py#l136 
especially line 151.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14702>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to