From 6f085ad255451e4cf6cc7330f37636b584ad5cfb Mon Sep 17 00:00:00 2001 From: axolotle Date: Thu, 19 Oct 2023 14:33:52 +0200 Subject: [PATCH] conf_regen:yunohost: repeat init portal setup in post hook --- hooks/conf_regen/01-yunohost | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hooks/conf_regen/01-yunohost b/hooks/conf_regen/01-yunohost index 256104a55..3b810de30 100755 --- a/hooks/conf_regen/01-yunohost +++ b/hooks/conf_regen/01-yunohost @@ -248,10 +248,10 @@ do_post_regen() { [ ! -e "/home/$USER" ] || setfacl -m g:all_users:--- /home/$USER done - # Portal settings + # Portal folder mkdir -p /etc/yunohost/portal - [[ ! -e /etc/yunohost/portal ]] || (chown ynh-portal:ynh-portal /etc/yunohost/portal && chmod 500 /etc/yunohost/portal) - chmod g+s /etc/yunohost/portal + chmod 500 /etc/yunohost/portal + chown ynh-portal:ynh-portal /etc/yunohost/portal # Domain settings mkdir -p /etc/yunohost/domains