From 056e480ba11d5afaa048810f857ae159f47f18dc Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Mon, 10 May 2021 16:18:18 +0200 Subject: [PATCH] syntax error --- scripts/install | 4 ++-- scripts/upgrade | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 97081a7..49800b9 100644 --- a/scripts/install +++ b/scripts/install @@ -87,8 +87,8 @@ ynh_add_fpm_config --phpversion=$YNH_PHP_VERSION --package="$extra_php_dependenc chown -R $app:$app $final_path chmod 400 config.dist.php config.local.php index.php sous-domaine.html VERSION -find $final_path/srcipts -type d -exec chmod 500 {} + -find $final_path/srcipts -type f -exec chmod 400 {} + +find $final_path/scripts -type d -exec chmod 500 {} + +find $final_path/scripts -type f -exec chmod 400 {} + find $final_path/templates -type d -exec chmod 500 {} + find $final_path/templates -type f -exec chmod 400 {} + find $final_path/include -type d -exec chmod 500 {} + diff --git a/scripts/upgrade b/scripts/upgrade index 0998e38..58e97ec 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -218,6 +218,7 @@ find $final_path/data -type d -exec chmod 700 {} + find $final_path/data -type f -exec chmod 600 {} + find /var/www/garradin/www -type d -exec chmod 755 {} + find /var/www/garradin/www -type f -exec chmod 644 {} + + #================================================= # RELOAD NGINX #=================================================