[Python-ideas] Have os.unlink remove junction points on Windows

Kim Gräsman kim.grasman at gmail.com
Sun Aug 25 20:26:42 CEST 2013


Ping?

Can I clarify something to move this forward? It seems like a good
idea to me, but I don't have the history of Py_DeleteFileW -- maybe
somebody tried this already?

Thanks,
- Kim

On Tue, Aug 13, 2013 at 1:17 PM, Kim Gräsman <kim.grasman at gmail.com> wrote:
> Hi all,
>
> I posted this bug a while back, but haven't had any feedback on it, so
> I figured I'd open discussion here:
> http://bugs.python.org/issue18314
>
> I want to have os.unlink recognize NTFS junction points (a prequel to
> proper symbolic links) and remove them transparently.
>
> Currently, os.unlink on a path to a junction point will fail with a
> WindowsError and the error code 5, access denied.
>
> Does this sound controversial, or would anybody be interested in
> reviewing a patch to this effect?
>
> Thanks,
> - Kim


More information about the Python-ideas mailing list