From 8e50e903d40d35d73c177928578bdc3864ea91d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Wed, 31 Mar 2021 17:27:04 +0200 Subject: [PATCH] fix owner issue on upgrade --- scripts/upgrade | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 6e34738..d22f61e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -118,6 +118,10 @@ chmod +x expect_scripts/upgrade_*.exp chmod +x expect_scripts/minor-upgrade.exp chmod +x $final_path/seafile-server-$seafile_version/upgrade/upgrade_*.sh chmod +x $final_path/seafile-server-$seafile_version/upgrade/minor-upgrade.sh +chown $seafile_user expect_scripts/upgrade_*.exp +chown $seafile_user expect_scripts/minor-upgrade.exp +chown $seafile_user $final_path/seafile-server-$seafile_version/upgrade/upgrade_*.sh +chown $seafile_user $final_path/seafile-server-$seafile_version/upgrade/minor-upgrade.sh # do the upgrade ( the ";&" syntax mean when it go in the first case which is true it do all the next case) case $installed_version in