summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatharina Drexel <katharina.drexel@bfh.ch>2019-08-12 13:58:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-08-12 17:39:03 +0000
commit23bf4f7f74643801e7dc7ff60bb92f18fab675ca (patch)
tree9b8973d9f504994ed72c5d07201a2c3c823e264e
parentReleasing debian version 1.16.1-1. (diff)
downloadnetdata-23bf4f7f74643801e7dc7ff60bb92f18fab675ca.tar.xz
netdata-23bf4f7f74643801e7dc7ff60bb92f18fab675ca.zip
fixing group permissions for reading logs
Signed-off-by: Katharina Drexel <katharina.drexel@bfh.ch> Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/netdata-core.postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/netdata-core.postinst b/debian/netdata-core.postinst
index c99048900..8ddec2b79 100755
--- a/debian/netdata-core.postinst
+++ b/debian/netdata-core.postinst
@@ -17,6 +17,9 @@ case "${1}" in
mkdir -p /var/lib/netdata
fi
+ # in some plugins netdata must be able to read logfiles
+ usermod -G adm netdata
+
# creating directory overrides
for DIRECTORY in /var/cache/netdata /var/lib/netdata
do