Describe the bug
ZVM is asking for administrative privileges to create a link on windows between an installed version and the common ~/.zvm/bin folder.
As both of these locations are within the users home folder (C:\users\USERNAME) these should not be required.
While Administrative privileges are available for personal computers, this is not always an option if your computer is managed by a company.
To Reproduce
Steps to reproduce the behavior:
When running as a user that does not have Administrator priviledges
Run zvm use ...
See error
2024/02/22 10:34:50 ERRO unable to symlink as Administrator
symlink C:\Users\USERNAME.zvm\0.12.0 C:\Users\USERNAME.zvm\bin: A required privilege is not held by the client.
Expected behavior
Link from ~/.zvm/VERSION is created to ~/.zvm/bin
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Windows 11
Architecture: amd64
Version: 0.6.7
Configuration:
VMU (Version Map URL) or alias: default
Additional context
Add any other context about the problem here.
Describe the bug ZVM is asking for administrative privileges to create a link on windows between an installed version and the common
~/.zvm/bin
folder.As both of these locations are within the users home folder (
C:\users\USERNAME
) these should not be required.While Administrative privileges are available for personal computers, this is not always an option if your computer is managed by a company.
To Reproduce Steps to reproduce the behavior:
zvm use ...
Expected behavior Link from
~/.zvm/VERSION
is created to~/.zvm/bin
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Configuration:
Additional context Add any other context about the problem here.