From fa2945879d785ea8e6fc531329442442f8aa0a13 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Fri, 29 Jul 2022 09:48:22 -0400 Subject: [PATCH] fix permissions --- scripts/install | 1 + scripts/upgrade | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 0a2d5e9..272d9a3 100755 --- a/scripts/install +++ b/scripts/install @@ -125,6 +125,7 @@ ynh_remove_go # Set permissions to app files chown -R $app:root "$final_path" +chmod 750 "${final_path}/bin/satdress" #================================================= # SETUP SYSTEMD diff --git a/scripts/upgrade b/scripts/upgrade index 639ed62..edd47ec 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -124,6 +124,7 @@ then fi chown -R $app:root "$final_path" +chmod 750 "${final_path}/bin/satdress" #================================================= # SETUP SYSTEMD