regenconf: fix yunohost hook incorectly tweaking mdns.yml ownership

This commit is contained in:
Alexandre Aubin 2022-11-20 19:41:08 +01:00
parent 68c6e58e9c
commit 9bd981620c

View file

@ -202,7 +202,7 @@ do_post_regen() {
mkdir -p /etc/yunohost/domains
# Misc configuration / state files
chown root:root $(ls /etc/yunohost/{*.yml,*.yaml,*.json,mysql,psql} 2>/dev/null)
chown root:root $(ls /etc/yunohost/{*.yml,*.yaml,*.json,mysql,psql} 2>/dev/null | grep -vw mdns.yml)
chmod 600 $(ls /etc/yunohost/{*.yml,*.yaml,*.json,mysql,psql} 2>/dev/null)
# Apps folder, custom hooks folder