1
0
mirror of https://github.com/limosek/zaf.git synced 2025-11-01 18:17:37 +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

View File

@@ -10,7 +10,7 @@ zaf_cache_clean(){
mkdir -p "$ZAF_CACHE_DIR"
if zaf_is_root; then
chmod 770 "$ZAF_CACHE_DIR"
chgrp zabbix "$ZAF_CACHE_DIR"
chgrp $(id -g zabbix) "$ZAF_CACHE_DIR"
fi
}