From 5f612cef23cc39e3a6ac13fcf9d3273141a537c7 Mon Sep 17 00:00:00 2001 From: YunoHost Bot Date: Tue, 11 May 2021 07:27:11 +0200 Subject: [PATCH] [autopatch] Update issue and PR templates (#11) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Testing (#9) * Cleaning up * [autopatch] Update issue and PR templates Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> --- scripts/install | 1 + scripts/restore | 1 + scripts/upgrade | 1 + 3 files changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index f85ae99..367a871 100644 --- a/scripts/install +++ b/scripts/install @@ -101,6 +101,7 @@ ynh_store_file_checksum --file="$final_path/data/config.php" # Set permissions to app files chown -R $app: $final_path +chmod o-rwx $final_path chmod -R 755 $final_path/data #================================================= diff --git a/scripts/restore b/scripts/restore index afccc7e..425d5f4 100644 --- a/scripts/restore +++ b/scripts/restore @@ -77,6 +77,7 @@ ynh_add_fpm_config --package="$extra_php_dependencies" # Restore permissions on app files chown -R $app: $final_path +chmod o-rwx $final_path chmod -R 755 $final_path/data #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index b67a01c..d2dc13c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -123,6 +123,7 @@ ynh_add_config --template="../conf/config-dist.php" --destination="$final_path/d # Set permissions to app files chown -R $app: $final_path +chmod o-rwx $final_path chmod -R 755 $final_path/data #=================================================