From a953ece05fe97f2b3b3d5821e91819a5950e8705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 22 Jun 2021 23:07:23 +0200 Subject: [PATCH] Fix (#27) --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 48fd622..55f25b1 100755 --- a/scripts/install +++ b/scripts/install @@ -142,7 +142,7 @@ chmod 750 "$final_path/bootstrap/cache" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -chown -R $app: $public_path +chown -R $app:www-data $public_path chmod 755 $public_path #================================================= diff --git a/scripts/restore b/scripts/restore index 30bd6b5..19a4783 100755 --- a/scripts/restore +++ b/scripts/restore @@ -81,7 +81,7 @@ chmod 750 "$final_path/bootstrap/cache" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -chown -R $app: $public_path +chown -R $app:www-data $public_path chmod 755 $public_path #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 8651aae..f1efe6f 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -161,7 +161,7 @@ ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\" # SECURE FILES AND DIRECTORIES #================================================= -chown -R $app: $public_path +chown -R $app:www-data $public_path chmod 755 $public_path #=================================================