summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatharina Drexel <katharina.drexel@bfh.ch>2019-08-08 07:24:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-08-12 17:39:21 +0000
commit421a6b0b905cd3cbb51a2cdf193f75a4166a6e5b (patch)
treea11e610e2e59338a93fa6707251b55d55aa31e60
parentfixing group permissions for reading logs (diff)
downloadnetdata-421a6b0b905cd3cbb51a2cdf193f75a4166a6e5b.tar.xz
netdata-421a6b0b905cd3cbb51a2cdf193f75a4166a6e5b.zip
correct the file permissions so that the python plugins also work
Signed-off-by: Katharina Drexel <katharina.drexel@bfh.ch> Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/netdata-core.netdata.service5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/netdata-core.netdata.service b/debian/netdata-core.netdata.service
index 64bbabd1..e8d5df1d 100644
--- a/debian/netdata-core.netdata.service
+++ b/debian/netdata-core.netdata.service
@@ -37,8 +37,11 @@ ProtectHome=read-only
ProtectSystem=full
ReadOnlyDirectories=/
+ReadWriteDirectories=/dev
ReadWriteDirectories=/proc/self
-ReadWriteDirectories=/var
+ReadWriteDirectories=/var/cache/netdata
+ReadWriteDirectories=/var/lib/netdata
+ReadWriteDirectories=/var/log
# Access to devices and kernel modules and tunables is required
PrivateDevices=no