Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Failed to create symlink. #796

Open
khoirul-mustofa opened this issue Nov 10, 2024 · 2 comments · May be fixed by #792
Open

[BUG] Failed to create symlink. #796

khoirul-mustofa opened this issue Nov 10, 2024 · 2 comments · May be fixed by #792
Labels
bug Something isn't working

Comments

@khoirul-mustofa
Copy link

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:

  1. 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:

curl -fsSL https://fvm.app/install.sh | sudo bash
@khoirul-mustofa khoirul-mustofa added the bug Something isn't working label Nov 10, 2024
@zakblacki
Copy link

Same issue

@jeevithakannan2 jeevithakannan2 linked a pull request Nov 14, 2024 that will close this issue
@steffenkleinle
Copy link

steffenkleinle commented Nov 28, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants