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 hynek
Recipients amcnabb, hynek, neologix, r.david.murray
Date 2012-05-05.11:37:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1336217844.67.0.859101600566.issue14702@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-05-05 11:37:24hyneksetrecipients: + hynek, amcnabb, r.david.murray, neologix
2012-05-05 11:37:24hyneksetmessageid: <1336217844.67.0.859101600566.issue14702@psf.upfronthosting.co.za>
2012-05-05 11:37:24hyneklinkissue14702 messages
2012-05-05 11:37:23hynekcreate