fs
fs copied to clipboard
Feature Request: `link_create()` on Windows networked drives
Hello! Thank you for this wonderful package. :postbox:
Is it possible for link_create()
to be updated to create symlinks to mapped network drives on Windows? I think the reason it's not already available is that it may require admin access as mentioned by Jim Hester in another issue for link_create()
(comment copied below)? This issue is from 2018...perhaps libuv has now been updated to optionally not require admin access?
Thank you! :relaxed:
https://github.com/r-lib/fs/issues/79
fs::link_create()
currently uses junctions on windows, which only support linking directories. This is because the Windows API requires the process to be elevated as administrator to create symbolic links (for both files and directories) using theCreateSymbolicLink()
API. Recent versions of Windows 10 insiders builds include an optionSYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE
to create symlinks without privelage elevation which is supported in libuv as of libuv/libuv@89d3193, however currently we are using an older version of libuv in this package.
This will require a newer libuv, so it is on hold now.
Are there any updates on this feature request?