From 2fa632c40b0f848c1fd937da86d45a40b94b020a Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 21 May 2021 19:02:12 +0530 Subject: [PATCH] fixde permission --- scripts/install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index 45dc561..c8a93bf 100755 --- a/scripts/install +++ b/scripts/install @@ -82,6 +82,9 @@ ynh_setup_source --dest_dir="$final_path" --source_id="app.$architecture" # this will be treated as a security issue. chmod 750 "$final_path" chmod -R o-rwx "$final_path" +mkdir /home/$app +chown -R $app: $final_path +chown -R $app: /home/$app #================================================= # NGINX CONFIGURATION