From ab331a60470607ba255f38bbb03e5aea1ab25df5 Mon Sep 17 00:00:00 2001 From: pp-r <64266134+pp-r@users.noreply.github.com> Date: Tue, 5 May 2020 12:14:06 +0200 Subject: [PATCH] add chown user final_path --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index ed4f061..6c1102c 100644 --- a/scripts/install +++ b/scripts/install @@ -268,6 +268,8 @@ ynh_store_file_checksum --file="$final_path/CONFIG_FILE" ### Then, if write authorization is needed, any access should be given only to directories ### that really need such authorization. +chown -R $user: "$final_path" + # Set permissions to app files chown -R root: $final_path