[issue33946] os.symlink on Windows should use the new non-admin flag

Ethan Smith report at bugs.python.org
Fri Jun 22 18:26:07 EDT 2018


New submission from Ethan Smith <ethan at ethanhs.me>:

In the creators update CreateSymbolicLink added a dwflag SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE, which will allow any user to create a symlink (not only an admin). I think we should detect and try to use this flag if possible.

I also think it would be nice to suggest turning on developer mode if the windows version is at or newer than the creators update.

This should probably happen after https://bugs.python.org/issue28113

----------
messages: 320288
nosy: Ethan Smith, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: os.symlink on Windows should use the new non-admin flag

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33946>
_______________________________________


More information about the Python-bugs-list mailing list