From a4c8867762cc5c9904617a01ebf3556bb4c332f1 Mon Sep 17 00:00:00 2001 From: lapineige Date: Tue, 9 May 2023 10:31:34 +0200 Subject: [PATCH] Fix the other wildcard + reordering --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 3826778a..9388a218 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -198,8 +198,8 @@ ynh_replace_string --match_string="'private' => 0700," --replace_string="'privat # Repair permissions for files created after v0.11.5 and before this patch if [ -d "$final_path/public/storage/m/_v2/" ]; then chmod 750 -R "$final_path/public/storage/m/_v2/"* # all files subdirectories (picture folders) should be readable and executable. But if there is no picture, there is no /*/* + chmod 770 "$final_path/public/storage/m/_v2/"* # users folders should be 770 chmod 770 "$final_path/public/storage/m/_v2/" # this should be 770 - chmod 770 "$final_path/public/storage/m/_v2/*" # users folders should be 770 fi #=================================================