Use install for correct permission instead of cp - reed-alert - Lightweight agentless alerting system for server HTML git clone git://bitreich.org/reed-alert/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/reed-alert/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 8e5ebef8af4853fc4b0559235bfa0216622f13b5 DIR parent 957c015c36bacb3b4e29fd55505dda4309dcbc4c HTML Author: Solene Rapenne <solene@perso.pw> Date: Wed, 24 Oct 2018 07:34:12 +0200 Use install for correct permission instead of cp Diffstat: M Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/Makefile b/Makefile @@ -9,8 +9,8 @@ reed-alert: reed-alert.in install: reed-alert mkdir -p ${LISPDIR} mkdir -p ${PREFIX}/bin - cp reed-alert ${PREFIX}/bin/reed-alert - cp probes.lisp functions.lisp ${LISPDIR}/ + install -o root -g bin -m 755 reed-alert ${PREFIX}/bin/reed-alert + install -o root -g wheel -m 644 probes.lisp functions.lisp ${LISPDIR}/ clean: rm reed-alert