From 62f946ec94d6ae13c262298c554cfd5bcb3e4559 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Fri, 9 Feb 2024 21:03:08 +0100 Subject: [PATCH] Fix permissions + version --- manifest.toml | 2 +- scripts/restore | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 4cd1681..cc5c089 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Matrix-Discord bridge" description.en = "Matrix / Synapse puppeting bridge for Discord" description.fr = "Passerelle Matrix / Synapse pour Discord" -version = "0.6.4~ynh1" +version = "0.6.5~ynh1" maintainers = ["fflorent"] diff --git a/scripts/restore b/scripts/restore index d53968e..1742f10 100755 --- a/scripts/restore +++ b/scripts/restore @@ -26,6 +26,9 @@ ynh_restore_file --origin_path="$install_dir" chown -R $app:www-data "$install_dir" chmod 750 "$install_dir/$APP_BIN" +chmod 750 "$install_dir" +chmod -R 750 "$install_dir" +chown -R $app:$app "$install_dir" #================================================= # RESTORE THE POSTGRESQL DATABASE