Issue 33946: os.symlink on Windows should use the new non-admin flag

Issue33946

Created on 2018-06-22 22:26 by ethan smith, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (1)
msg320288 - (view) Author: Ethan Smith (ethan smith) * Date: 2018-06-22 22:26
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
History
Date User Action Args
2022-04-11 14:59:02adminsetgithub: 78127
2018-06-23 16:18:06eryksunsetstatus: open -> closed
superseder: Add non-elevated symlink support for dev mode Windows 10
type: enhancement
resolution: duplicate
stage: resolved
2018-06-23 13:14:35eric.smithsetnosy: + eric.smith
2018-06-22 22:26:07ethan smithcreate