Message243527
It doesn't seem to be true for other mount points; the ones I tried raise FileExistsError. I suppose one could dig into the OS sources. I see that none of the FreeBSD or OS X mkdir man pages nor the POSIX 2013 spec document EISDIR as an expected error from mkdir(2) so one could argue it's an implementation bug. It is a somewhat unusual case, though, as I doubt you would ever run into a situation where you really needed to create '/' from a process :=) Still ... |
|
Date |
User |
Action |
Args |
2015-05-18 19:42:26 | ned.deily | set | recipients:
+ ned.deily, r.david.murray, mew |
2015-05-18 19:42:26 | ned.deily | set | messageid: <1431978146.71.0.582296525595.issue24231@psf.upfronthosting.co.za> |
2015-05-18 19:42:26 | ned.deily | link | issue24231 messages |
2015-05-18 19:42:26 | ned.deily | create | |
|