Issue: Permission Denied on Symlink Creation During FVM Installation
Description:
While attempting to install FVM on my Linux system using the provided installation script, I encountered a permission error when the script tried to create a symbolic link in /usr/local/bin. The error occurred despite using sudo with the curl command. It seems that the symbolic link creation step inside the bash script requires superuser permissions, but the script itself isn't being executed with the necessary privileges.
System Information:
OS: Pop!_OS (based on Ubuntu)
Architecture: x64
FVM Version: 3.2.1 (detected by the installer)
Steps to Reproduce:
Run the following command on a Linux system (Pop!_OS in this case):
sudo curl -fsSL https://fvm.app/install.sh | bash
Workaround: Running the following command resolves the issue:
We experience the same issue when attempting to install fvm in the CI. Thanks @jeevithakannan2 for the quick PR, it fixes the issue for us. Any chance we can get this merged/released?
Issue: Permission Denied on Symlink Creation During FVM Installation
Description: While attempting to install FVM on my Linux system using the provided installation script, I encountered a permission error when the script tried to create a symbolic link in
/usr/local/bin
. The error occurred despite usingsudo
with thecurl
command. It seems that the symbolic link creation step inside the bash script requires superuser permissions, but the script itself isn't being executed with the necessary privileges.System Information:
OS: Pop!_OS (based on Ubuntu) Architecture: x64 FVM Version: 3.2.1 (detected by the installer)
Steps to Reproduce:
Workaround: Running the following command resolves the issue: