From e5974c600a0ea9c0bd38e0a4ece2d718836749d7 Mon Sep 17 00:00:00 2001 From: LarsBel <39060393+LarsBel@users.noreply.github.com> Date: Sat, 3 Dec 2022 10:32:32 +0100 Subject: [PATCH] Update upgrade.sh --- cli/upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/upgrade.sh b/cli/upgrade.sh index 215d8a083..14c99515b 100755 --- a/cli/upgrade.sh +++ b/cli/upgrade.sh @@ -43,7 +43,7 @@ then find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \; chmod u+x "${SCRIPT_DIR}/upgrade.sh" - chown -R $OWNERGROUP * + chown -R $OWNERGROUP $SCRIPT_DIR echo -e "\033[1;32mFinished with snappymail upgrade from $OLD_VERSION to $NEW_VERSION... \033[0m" else