diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-12-28 11:27:29 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-12-28 11:27:29 +0200 |
commit | d2621d6e62b033542677a7a24f6b1b85b4fe2c3e (patch) | |
tree | 9a0b5143f55ffff880e12eda945d853a0c563fa9 /netdata-installer.sh | |
parent | 518883b7df126cd7daf6451f61949a74689f917b (diff) |
properly set ownership of /var/log/netdata to allow all versions of logrotate work; #fixes #1456
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-x | netdata-installer.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh index d16f1b1331..7487dbec75 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -790,6 +790,9 @@ do #run find "${x}" -type d -exec chmod 0770 {} \; done +run chown "${NETDATA_USER}:root" "${NETDATA_LOG_DIR}" +run chmod 755 "${NETDATA_LOG_DIR}" + # --- plugins ---- if [ ${UID} -eq 0 ] |