From 481b2e7d63d2d336fa0ef15f8e92e46fcd9aa622 Mon Sep 17 00:00:00 2001 From: Sylvain CECCHETTO Date: Thu, 30 Sep 2021 15:03:16 +0200 Subject: [PATCH] Fix superuser pemrissions --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 078d02a..2cbc7f8 100644 --- a/scripts/install +++ b/scripts/install @@ -122,6 +122,8 @@ ynh_add_config --template="tvheadend" --destination="/etc/default/tvheadend" # Copy and modify /home/hts/.hts/tvheadend/superuser ynh_add_config --template="superuser" --destination="${final_path}/.hts/tvheadend/superuser" +chown hts:video "${final_path}/.hts/tvheadend/superuser" +chmod 600 "${final_path}/.hts/tvheadend/superuser" #================================================= # NGINX CONFIGURATION