Have os.unlink remove junction points on Windows
13 Aug
2013
13 Aug
'13
6:17 a.m.
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
3824
Age (days ago)
3871
Last active (days ago)
20 comments
6 participants
participants (6)
-
Kim Gräsman
-
Nick Coghlan
-
Oscar Benjamin
-
Paul Moore
-
random832@fastmail.us
-
Terry Reedy