diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-09-05 22:59:19 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-09-05 22:59:19 +0300 |
commit | 419e92175d3873a2d171ab3df7f185c275dbdc50 (patch) | |
tree | da5e13f88f2f985806ebd567c3fcd881fdd889f5 /makeself/install-or-update.sh | |
parent | 5ce92a893246fd02f84460121243267c2253f5e2 (diff) |
fping should be setuid to root to work when running as user netdata (static binary); #2665
Diffstat (limited to 'makeself/install-or-update.sh')
-rwxr-xr-x | makeself/install-or-update.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/makeself/install-or-update.sh b/makeself/install-or-update.sh index f822e7bcff..b64e7be335 100755 --- a/makeself/install-or-update.sh +++ b/makeself/install-or-update.sh @@ -149,6 +149,12 @@ do fi done +# fix the fping binary +if [ -f bin/fping ] +then + run chown root:${NETDATA_GROUP} bin/fping + run chmod 4750 bin/fping +fi # ----------------------------------------------------------------------------- progress "starting netdata" |