From 596b94519f826dfa3c5cec1240ed8acb73ca1416 Mon Sep 17 00:00:00 2001 From: Mischa Date: Sat, 13 Jun 2026 21:05:08 +0200 Subject: [PATCH] Remove chown from install script --- scripts/server-install.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/server-install.sh b/scripts/server-install.sh index cbe0b07..a689ffb 100755 --- a/scripts/server-install.sh +++ b/scripts/server-install.sh @@ -3,8 +3,6 @@ set -e : "${WEBROOT:?WEBROOT is not set}" : "${USER_REPO:?USER_REPO is not set}" - -WEBROOT_USER=$(echo "$WEBROOT" | cut -d'/' -f3) : "${GITEA_HOST:?GITEA_HOST is not set}" : "${GITEA_USER:?GITEA_USER is not set}" : "${GITEA_TOKEN:?GITEA_TOKEN is not set}" @@ -24,7 +22,6 @@ git clone "$USER_REPO" user rm ~/.netrc echo "==> Setting permissions" -chown -R "$WEBROOT_USER":"$WEBROOT_USER" "$WEBROOT" find "$WEBROOT" -type f -exec chmod 664 {} \; find "$WEBROOT" -type d -exec chmod 775 {} \;