Closed Hector242 closed 2 years ago
I just had the same issue. I think it is related to some security-feature that you are not allowed to execute files from /tmp.
I copied the file to /var/tmp, and there it was executable.
I think it is related to some security-feature that you are not allowed to execute files from /tmp.
I'd be interested in what that security feature is. If anyone knows, please add a comment. I am able to do docker run --rm alpine
+ apk add curl git
and install Krew in there just fine. So I assume this is not a standard thing.
it sounds like SELinux could be blocking it but without knowing more details like the distribution its hard to guess at
I just clocked the username 'redhat' in the output so I'll take a stab and say its related to a SELinux security policy
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/close not reproducible. please feel free to open a new issue if you have a clean repro.
@ahmetb: Closing this issue.
Hello Team,
I'm trying to install Krew on a Linux server, but I got the following error messages.
[root@vts~]# (
Checking the tmp file I noticed that the script file is taking another user as it's owner. However, I did try to change the owner to root, but I'm still getting the same error messages.
[root@vts~]# cd /tmp/tmp.q0JygZVSfi/ [root@vts tmp.q0JygZVSfi]# ls -l total 15980 -rwxr-xr-x. 1 redhat 121 12164162 Dec 31 1999 krew-linux_amd64 -rw-r-----. 1 root root 4186018 Jan 3 17:16 krew-linux_amd64.tar.gz -rw-r--r--. 1 redhat 121 11358 Dec 31 1999 LICENSE [root@vts tmp.q0JygZVSfi]#
Thanks in advance, Best.