From 3b00cb22292d20a451f2da500a86fef58cd4db68 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 27 Mar 2023 08:35:00 -0300 Subject: reconfigure.sh: Fix permissions of rsynced files --- src/infrastructure/scripts/reconfigure.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/infrastructure/scripts/reconfigure.sh b/src/infrastructure/scripts/reconfigure.sh index 4936e07..9c33434 100755 --- a/src/infrastructure/scripts/reconfigure.sh +++ b/src/infrastructure/scripts/reconfigure.sh @@ -130,8 +130,9 @@ else sudo -i guix system -c$NPROC -v3 reconfigure /etc/guix/system.scm - rsync \ + sudo -u andreh rsync \ --chmod=D775,F664 \ + --chown=andreh:users \ -a \ --exclude='dev/ci/*' \ /run/current-system/profile/share/doc/servers/ /srv/www/s/servers/ -- cgit v1.2.3