From 27b90b5dd5ca3a2e617278f02150c4708307573b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dufraisse?= Date: Sat, 27 Nov 2021 12:52:59 +0100 Subject: [PATCH] fix(upgrade): yeswiki_update_dir_rights --- scripts/upgrade | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index f5c71c6..9ab3549 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -147,11 +147,7 @@ ynh_add_fpm_config --package="$extra_php_dependencies" #================================================= # Set permissions on app files -chown -R root: $final_path -chown -R $app $final_path/{cache,files,themes,tools,wakka.config.php} - -chown $app:www-data $final_path -chmod o-rwx $final_path +yeswiki_update_dir_rights $app $final_path #================================================= # RELOAD NGINX