1
0
mirror of https://github.com/limosek/zaf.git synced 2025-12-16 07:27:03 +01:00

Right permissions on cache

This commit is contained in:
Lukas Macura
2016-04-21 16:07:21 +02:00
parent 2d9c2059fe
commit 1ea7d93cd8
2 changed files with 3 additions and 3 deletions

4
zaf
View File

@@ -64,8 +64,8 @@ if ! [ -d "${ZAF_CACHE_DIR}" ]; then
fi
if zaf_is_root; then
chgrp zabbix "${ZAF_CACHE_DIR}"
chmod g+w "${ZAF_CACHE_DIR}"
chgrp $(id -g zabbix) "${ZAF_CACHE_DIR}"
chmod 770 "${ZAF_CACHE_DIR}"
fi
case $1 in