Skip to content

libuv: Allow fs.symlink without being elevated administrator on Win32

(Not sure if this belongs as a PR to libuv, let me know if so - if this PR is on the right track, I'll clean up the commits to match the standard etc etc)

This PR implements the changes required in https://blogs.windows.com/buildingapps/2016/12/02/symlinks-windows-10/#C6gRguKlBZWuXPuW.97, which allows fs.symlink with the directory/file parameter to create symbolic links on Windows 10 Creators Edition or higher, without requiring the process to be UAC elevated.

Note that to verify this, you'll have to be both running Win10 Creators Update, and in "Developer Mode":

image

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

libuv

Merge request reports

Loading