Message159988
| 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:24 | hynek | set | recipients:
+ hynek, amcnabb, r.david.murray, neologix |
| 2012年05月05日 11:37:24 | hynek | set | messageid: <1336217844.67.0.859101600566.issue14702@psf.upfronthosting.co.za> |
| 2012年05月05日 11:37:24 | hynek | link | issue14702 messages |
| 2012年05月05日 11:37:23 | hynek | create |
|