diff options
author | Facetoe <facetoe@facetoe.com.au> | 2016-12-08 18:58:24 +0800 |
---|---|---|
committer | Facetoe <facetoe@facetoe.com.au> | 2016-12-08 18:58:24 +0800 |
commit | 4007440677b89cec67036af48377505041325a4a (patch) | |
tree | 9bded072a5db647eedea5c5a7d85214b880433dd /contrib | |
parent | bf91af27976cfb634d27a1a7faa1f20067170db5 (diff) |
Ensure netdata owns /var/lib/netdata/.
Netdata needs to be able to create the health and registry directories
on launch. The inability to do this prevents the daemon from starting.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/debian/netdata.postinst.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/debian/netdata.postinst.in b/contrib/debian/netdata.postinst.in index c7618a5924..29615f5413 100644 --- a/contrib/debian/netdata.postinst.in +++ b/contrib/debian/netdata.postinst.in @@ -14,7 +14,7 @@ case "$1" in fi if ! dpkg-statoverride --list /var/lib/netdata >/dev/null 2>&1; then - dpkg-statoverride --update --add root netdata 0755 /var/lib/netdata + dpkg-statoverride --update --add netdata netdata 0755 /var/lib/netdata fi if ! dpkg-statoverride --list /var/lib/netdata/www >/dev/null 2>&1; then |