Is it possible to have Unix guest on Windows 10 host and use symbolic links in Virtualbox shared folders without administrator priviledges?
I'm asking because previously symbolic links on Windows 10 required administator priviledges but now it's possible to enable Developer mode to create symbolic links using standard account and mklink
. Thus it make sense there would be a way use the Developer mode to lift the administrator requirement on symbolic links in shared folders as well.
Short answer is yes. It is possible to use symbolic links in Virtualbox shared folders without administrator priviledges and it doesn't even require the Developer Mode.
Here are the step-by-step instructions how to do it, thanks eryksun for helping me out!
secpol.msc
)The Developer Mode didn't help here even though it enables the use of symbolic links without elevated access in two ways:
mklink
command can be used without elevated accessSYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE
Since even after enabling the Developer Mode VirtualBox has to be run as Administrator in order to create symlinks I assume the method 2 i.e. API calls are used to create the symlinks. Thus VirtualBox code would need to be updated to use the SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE
flag. After that update enabling Developer Mode should be sufficient to enable symbolic links in shared folders.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With