Back to the posts

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/kustomize

© 2024 Mo Kweon. All rights reserved.