From 1c0b6797d3232a9f18c7893e664f8cd6d15939e3 Mon Sep 17 00:00:00 2001 From: pp-r <64266134+pp-r@users.noreply.github.com> Date: Sun, 14 Feb 2021 14:36:52 +0100 Subject: [PATCH] $app instead root --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 9f9408c..ad92c46 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -177,8 +177,8 @@ ynh_store_file_checksum --file="$final_path/CONFIG_FILE" # SECURE FILES AND DIRECTORIES #================================================= -# Set permissions on app files chown -R $app: $final_path -chown -R root: $final_path +# Set permissions on app files chown -R root: $final_path +chown -R $app: $final_path #================================================= # SETUP LOGROTATE