From 664a9f4e4e8f6bfe8067c04da0fe648741f8599b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 5 Feb 2024 19:46:40 +0100 Subject: [PATCH] try to fix permission, debug --- scripts/restore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/restore b/scripts/restore index 31bb06e..7449e28 100755 --- a/scripts/restore +++ b/scripts/restore @@ -19,6 +19,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_secure_remove "$install_dir" ynh_restore_file --origin_path="$install_dir" +chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" chown -R "$app:$app" "$install_dir" @@ -70,6 +71,7 @@ fi ynh_systemd_action --service_name=nginx --action=reload +ynh_exec_warn ls -lah "$install_dir" ynh_exec_warn cat "$install_dir/config.xml" ynh_exec_warn cat "/etc/nginx/conf.d/$domain.d/$app.conf"