-
Notifications
You must be signed in to change notification settings - Fork 369
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
Krew install script can fail #866
Comments
@GregDThomas
|
/kind support |
This doesn't work if /tmp is set to noexec. |
I don't know how does someone's /tmp have noexec. How frequent is this setup? I'm trying to understand if this is worth addressing. |
A quote from https://serverfault.com/questions/72356/how-useful-is-mounting-tmp-noexec
|
FWIW, it may be sufficient to do something like; TMPDIR=~/.tmp (
set -x; cd "$(mktemp -d)" &&
...
) to use another folder that isn't noexec. |
If your
/tmp
folder is set to noexec - a usual configuration - then the script presented at https://krew.sigs.k8s.io/docs/user-guide/setup/install/ will fail with(The only workaround I can think of is to create a temporary folder somewhere other than /tmp)
The text was updated successfully, but these errors were encountered: