Remove chown from install script

This commit is contained in:
2026-06-13 21:05:08 +02:00
parent 766b7edcdd
commit 596b94519f
-3
View File
@@ -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 {} \;