Skip to content

Permission denied after curl install #839

Answered by iwilltry42
akirataguchi115 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @akirataguchi115 , thanks for starting this discussion!
This is not normal and it's the first time I hear/read about this, as usually, executables in /usr/local/bin/ should be accessible by any user on the system and the script does not set any specific file mode (it just marks it as executable).
If the permissions for this location don't work for you, you can specify the install location by setting the K3D_INSTALL_DIR for the script, e.g. curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | K3D_INSTALL_DIR="/home/k3d/bin" bash (and you can also disable using sudo by setting USE_SUDO=false) 👍

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by akirataguchi115
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants