From 13347c1620a15f2d5c4921a56df3fe42f9db52df Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 27 Mar 2023 09:26:37 -0300 Subject: Use "deployer" as the owner of HTML files --- src/infrastructure/ci/git-post-receive.sh | 2 +- src/infrastructure/scripts/reconfigure.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/infrastructure/ci/git-post-receive.sh b/src/infrastructure/ci/git-post-receive.sh index bd21478..c00c583 100755 --- a/src/infrastructure/ci/git-post-receive.sh +++ b/src/infrastructure/ci/git-post-receive.sh @@ -144,7 +144,7 @@ mkdtemp() { --chown=deployer:deployer \ --delete \ -a \ - "$DIR"/ /srv/www/dev/ci/ + "$DIR"/ /srv/www/s/servers/ci/ rm -rf "$DIR" } 1>/dev/null 2>&1 & } diff --git a/src/infrastructure/scripts/reconfigure.sh b/src/infrastructure/scripts/reconfigure.sh index 9c33434..945f115 100755 --- a/src/infrastructure/scripts/reconfigure.sh +++ b/src/infrastructure/scripts/reconfigure.sh @@ -130,9 +130,9 @@ else sudo -i guix system -c$NPROC -v3 reconfigure /etc/guix/system.scm - sudo -u andreh rsync \ + sudo -u deployer rsync \ --chmod=D775,F664 \ - --chown=andreh:users \ + --chown=deployer:deployer \ -a \ --exclude='dev/ci/*' \ /run/current-system/profile/share/doc/servers/ /srv/www/s/servers/ -- cgit v1.2.3