mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Fix log rotate permission
This commit is contained in:
parent
b60a402c31
commit
c2db4cfc79
1 changed files with 1 additions and 0 deletions
|
@ -264,5 +264,6 @@ set_permissions() {
|
||||||
chmod 600 /etc/matrix-"$app"/"$server_name".signing.key
|
chmod 600 /etc/matrix-"$app"/"$server_name".signing.key
|
||||||
|
|
||||||
chown "$app":root -R /var/log/matrix-"$app"
|
chown "$app":root -R /var/log/matrix-"$app"
|
||||||
|
chmod u=rwX,g=rX,o= -R /var/log/matrix-"$app"
|
||||||
setfacl -R -m user:turnserver:rwX /var/log/matrix-"$app"
|
setfacl -R -m user:turnserver:rwX /var/log/matrix-"$app"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue