diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2024-01-11 17:31:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-11 17:31:20 +0200 |
commit | 1b3eb5b42fc8b5d04056c49f8b6d94668d913492 (patch) | |
tree | 3a6248379aba0413a0b38bd91f4e62bd8da1a6aa /packaging/makeself | |
parent | f2b250a1f53af00241522db35f8c85f19ed282e1 (diff) |
packaging: add cap_dac_read_search to go.d.plugin (#16754)
Diffstat (limited to 'packaging/makeself')
-rwxr-xr-x | packaging/makeself/install-or-update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/makeself/install-or-update.sh b/packaging/makeself/install-or-update.sh index 63bf706e2e..b5b46e2b61 100755 --- a/packaging/makeself/install-or-update.sh +++ b/packaging/makeself/install-or-update.sh @@ -190,7 +190,7 @@ if command -v setcap >/dev/null 2>&1; then run setcap "cap_sys_admin=ep" "usr/libexec/netdata/plugins.d/perf.plugin" fi - run setcap "cap_net_admin,cap_net_raw=eip" "usr/libexec/netdata/plugins.d/go.d.plugin" + run setcap "cap_dac_read_search+epi cap_net_admin+epi cap_net_raw=eip" "usr/libexec/netdata/plugins.d/go.d.plugin" else for x in ndsudo apps.plugin perf.plugin slabinfo.plugin debugfs.plugin; do f="usr/libexec/netdata/plugins.d/${x}" |