mirror of
https://github.com/limosek/zaf.git
synced 2024-11-24 19:39:08 +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"
|
mkdir -p "$ZAF_CACHE_DIR"
|
||||||
if zaf_is_root; then
|
if zaf_is_root; then
|
||||||
chmod 770 "$ZAF_CACHE_DIR"
|
chmod 770 "$ZAF_CACHE_DIR"
|
||||||
chgrp zabbix "$ZAF_CACHE_DIR"
|
chgrp $(id -g zabbix) "$ZAF_CACHE_DIR"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user