diff options
author | Paul Emm. Katsoulakis <34388743+paulkatsoulakis@users.noreply.github.com> | 2019-04-17 16:07:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-17 16:07:02 +0300 |
commit | 4bf648fe0ab16cdc88cfd2222b850d4df02d4001 (patch) | |
tree | e982bd1ed644622a69c68f0f10145653d5cc1979 /netdata-installer.sh | |
parent | 2192f26f16b8c37425e7aa2663f046dd5eb0bcd7 (diff) |
netdata/packaging/installer: correlate permissions amongst plugins to 0750 (#5856)
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-x | netdata-installer.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh index 2018cb336e..4700e7db7c 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -683,7 +683,7 @@ if [ "${UID}" -eq 0 ]; then run chown -R "root:${NETDATA_GROUP}" "${NETDATA_PREFIX}/usr/libexec/netdata" run find "${NETDATA_PREFIX}/usr/libexec/netdata" -type d -exec chmod 0755 {} \; run find "${NETDATA_PREFIX}/usr/libexec/netdata" -type f -exec chmod 0644 {} \; - run find "${NETDATA_PREFIX}/usr/libexec/netdata" -type f -a -name \*.plugin -exec chmod 0755 {} \; + run find "${NETDATA_PREFIX}/usr/libexec/netdata" -type f -a -name \*.plugin -exec chmod 0750 {} \; run find "${NETDATA_PREFIX}/usr/libexec/netdata" -type f -a -name \*.sh -exec chmod 0755 {} \; if [ -f "${NETDATA_PREFIX}/usr/libexec/netdata/plugins.d/apps.plugin" ]; then |