From 73aa82bcd630322b125d4bac33bf5fa39baaf8c3 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Thu, 18 Apr 2024 18:36:23 +0200 Subject: [PATCH] Grant execute permission of ciclic to user and group --- scripts/install | 3 +++ scripts/restore | 3 +++ scripts/upgrade | 3 +++ 3 files changed, 9 insertions(+) diff --git a/scripts/install b/scripts/install index 1be62fd..a5f71af 100644 --- a/scripts/install +++ b/scripts/install @@ -37,6 +37,9 @@ chown -R "$app:$app" "$install_dir" chown "$app:www-data" "$install_dir" chown -R "$app:www-data" "$install_dir/results" +# Allow system user to execute ciclic +chmod ug+x "$install_dir/ciclic" + #================================================= # INSTALL PYTHON DEPENDENCIES #================================================= diff --git a/scripts/restore b/scripts/restore index 1f59eb3..bc9d947 100644 --- a/scripts/restore +++ b/scripts/restore @@ -35,6 +35,9 @@ chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" chown -R "$app:$app" "$install_dir" +# Allow system user to execute ciclic +chmod ug+x "$install_dir/ciclic" + #================================================= # INSTALL PYTHON DEPENDENCIES #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 52ade96..6cf47a0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -108,6 +108,9 @@ chown -R "$app:$app" "$install_dir" chown "$app:www-data" "$install_dir" chown -R "$app:www-data" "$install_dir/results" +# Allow system user to execute ciclic +chmod ug+x "$install_dir/ciclic" + #================================================= # INSTALL PYTHON DEPENDENCIES #=================================================