Eryk Sun <eryk...@gmail.com> added the comment:

>> As os.symlink requires administrative privileges on most versions 
>> of Windows
>
> The current implementation requires SeCreateSymbolicLinkPrivilege on 
> ALL versions of Windows because users must pass an additional flag to 
> CreateSymbolicLink to enable non-privileged symlinks on recent Windows
> 10, which os.symlink() doesn't do (see #31512).

The change in Windows 10 to allow unprivileged creation of links will be 
supported implicitly in 3.7, but this change is more for convenience than 
necessity. SeCreateSymbolicLinkPrivilege can be granted to standard users and 
groups. On my own systems, I grant this privilege to the "Authenticated Users" 
(S-1-5-11) well-known group. This even allows administrators to create symbolic 
links without having to elevate.

----------
nosy: +eryksun

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33001>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to