summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2024-01-11 17:31:20 +0200
committerGitHub <noreply@github.com>2024-01-11 17:31:20 +0200
commit1b3eb5b42fc8b5d04056c49f8b6d94668d913492 (patch)
tree3a6248379aba0413a0b38bd91f4e62bd8da1a6aa /netdata-installer.sh
parentf2b250a1f53af00241522db35f8c85f19ed282e1 (diff)
packaging: add cap_dac_read_search to go.d.plugin (#16754)
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-xnetdata-installer.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index 5fb8cf9741..3eb61a13e5 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -1620,7 +1620,7 @@ install_go
if [ -f "${NETDATA_PREFIX}/usr/libexec/netdata/plugins.d/go.d.plugin" ]; then
if command -v setcap 1>/dev/null 2>&1; then
- run setcap "cap_net_admin+epi cap_net_raw=eip" "${NETDATA_PREFIX}/usr/libexec/netdata/plugins.d/go.d.plugin"
+ run setcap "cap_dac_read_search+epi cap_net_admin+epi cap_net_raw=eip" "${NETDATA_PREFIX}/usr/libexec/netdata/plugins.d/go.d.plugin"
fi
fi