How to install binary with the permission set correctly
TL;DR
I've been usually doing manually cp and chmod a+x something like that.
But, you can simply install.
sudo install -o root -g root -m 0755 kustomize /usr/local/bin/kustomizeI've been usually doing manually cp and chmod a+x something like that.
But, you can simply install.
sudo install -o root -g root -m 0755 kustomize /usr/local/bin/kustomize