From 9bd981620cceb148950c72283754c104e4f9ba90 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 20 Nov 2022 19:41:08 +0100 Subject: [PATCH] regenconf: fix yunohost hook incorectly tweaking mdns.yml ownership --- hooks/conf_regen/01-yunohost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/conf_regen/01-yunohost b/hooks/conf_regen/01-yunohost index ac9326834..51022a4e5 100755 --- a/hooks/conf_regen/01-yunohost +++ b/hooks/conf_regen/01-yunohost @@ -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