From 3388dff3653e69d2423ef544b2419fd9020ff8c4 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 22 Jul 2021 21:05:07 +0200 Subject: [PATCH] Update install --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 8855b41..45af0cf 100755 --- a/scripts/install +++ b/scripts/install @@ -114,13 +114,13 @@ ynh_add_config --template="../conf/config.inc.php.dist" --destination="$final_pa # SECURE FILES AND DIRECTORIES #================================================= -chmod u+rx $final_path/galette/config -chmod g+rwx $final_path/galette/config +chown $app $final_path/galette/config +chmod 775 $final_path/galette/config for folder in attachments cache exports files imports logs photos templates_c tempimages do chown $app $final_path/galette/data/$folder - chmod g+rwx $final_path/galette/data/$folder + chmod g+rwx $final_path/galette/data/$folder done #=================================================