mirror of
https://github.com/limosek/zaf.git
synced 2024-11-21 18:09:06 +01:00
Right permissions on cache
This commit is contained in:
parent
2d9c2059fe
commit
1ea7d93cd8
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user