Permission denied after curl install #839
-
After installing with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @akirataguchi115 , thanks for starting this discussion! |
Beta Was this translation helpful? Give feedback.
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 usingsudo
by settingUSE_SUDO=false
) 👍