Eryk Sun added the comment:

> Ah, looks like they require symlinks for the whole test, 
> which means you need to be admin when running them on Windows.

The privilege to create symlinks isn't filtered out of a standard user's token. 
Are there any buildbots already running as a standard user? In that case it may 
be simpler to modify the user's rights via secpol.msc: Local Policies -> User 
Rights Assignment -> Create symbolic links.

Support could also be added for the new feature in Windows 10 to allow 
unprivileged creation of symlinks when the system is in developer mode and the 
flag SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE [1] is used. A keyword-only 
option to use this flag could be backported to 3.6 and enabled by default in 
3.7.

[1]: https://blogs.windows.com/buildingapps/2016/12/02/symlinks-windows-10

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

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

Reply via email to