From 16b28a7bea01d1ac866966a74157820c35e9c843 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 9 Apr 2021 00:56:35 +0200 Subject: [PATCH] Fix rights --- scripts/install | 3 +-- scripts/restore | 3 +-- scripts/upgrade | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index fb18194..eadbd11 100644 --- a/scripts/install +++ b/scripts/install @@ -108,8 +108,7 @@ ynh_setup_source --dest_dir="$final_path" --source_id="$architecture" chmod 750 "$final_path" chmod -R o-rwx "$final_path" -chown -R root: "$final_path" -chown root:$app "$final_path" +chown -R root:$app "$final_path" #================================================= # NGINX CONFIGURATION diff --git a/scripts/restore b/scripts/restore index 5e973d2..1262b52 100644 --- a/scripts/restore +++ b/scripts/restore @@ -70,8 +70,7 @@ ynh_restore_file --origin_path="$final_path" chmod 750 "$final_path" chmod -R o-rwx "$final_path" -chown -R root: "$final_path" -chown root:$app "$final_path" +chown -R root:$app "$final_path" #================================================= # SPECIFIC RESTORATION diff --git a/scripts/upgrade b/scripts/upgrade index 5dccff0..68f537f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -152,8 +152,7 @@ fi chmod 750 "$final_path" chmod -R o-rwx "$final_path" -chown -R root: "$final_path" -chown root:$app "$final_path" +chown -R root:$app "$final_path" #================================================= # NGINX CONFIGURATION