From c1fffc01bfeff2b6cdcf7d5b5e26122a9b4b335d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 5 Jan 2024 18:49:33 +0100 Subject: [PATCH] fix upgrade permissions --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 424259a..31ac2be 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -90,8 +90,8 @@ ynh_script_progression --message="Configuring document storage..." --weight=1 ynh_add_config --template="index.html" --destination="$data_dir/index.html" -chmod o-rwx "$data_dir" -chown "$app:www-data" "$data_dir" +chmod -R o-rwx "$data_dir" +chown -R "$app:www-data" "$data_dir" #================================================= # ADD SSH ACCESS