diff options
Diffstat (limited to 'packaging/makeself')
-rwxr-xr-x | packaging/makeself/install-or-update.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/makeself/install-or-update.sh b/packaging/makeself/install-or-update.sh index 37fb33d7cb..76ed5b3ccd 100755 --- a/packaging/makeself/install-or-update.sh +++ b/packaging/makeself/install-or-update.sh @@ -161,7 +161,8 @@ dir_should_be_link etc/netdata ../../usr/lib/netdata/conf.d orig progress "fix permissions" run chmod g+rx,o+rx /opt -run chown -R ${NETDATA_USER}:${NETDATA_GROUP} /opt/netdata +run find /opt/netdata -type d -exec chmod go+rx '{}' \+ +run chown -R ${NETDATA_USER}:${NETDATA_GROUP} /opt/netdata/var # ----------------------------------------------------------------------------- |