From 013c3d60f4cbda04c5c609f673c1396ff916da86 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sun, 18 Jun 2023 16:33:13 +0200 Subject: [PATCH] Fix post-v2 issues --- scripts/upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upgrade b/scripts/upgrade index 092fb00b..51dc4d48 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -149,6 +149,7 @@ if [ -d "$install_dir/public/storage/m/_v2/" ]; then chmod 750 -R "$install_dir/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 "$install_dir/public/storage/m/_v2/"* # users folders should be 770 chmod 770 "$install_dir/public/storage/m/_v2/" # this should be 770 + chown -R :www-data "$install_dir/public/storage/m/_v2/" # Fix the mess following packaging v2 upgrade - and make sure proper group owner is set. fi #=================================================