aboutsummaryrefslogtreecommitdiff
path: root/src/infrastructure
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-27 08:35:00 -0300
committerEuAndreh <eu@euandre.org>2023-03-27 08:38:16 -0300
commit3b00cb22292d20a451f2da500a86fef58cd4db68 (patch)
tree542ec2fad0c2a162429aab08fb31504a71b92e68 /src/infrastructure
parentBuild HTML and install it via CI (diff)
downloadserver-3b00cb22292d20a451f2da500a86fef58cd4db68.tar.gz
server-3b00cb22292d20a451f2da500a86fef58cd4db68.tar.xz
reconfigure.sh: Fix permissions of rsynced files
Notes
See CI logs with: git notes --ref=refs/notes/ci-logs show 3b00cb22292d20a451f2da500a86fef58cd4db68 git notes --ref=refs/notes/ci-data show 3b00cb22292d20a451f2da500a86fef58cd4db68 Exit status: 0 Duration: 16
Diffstat (limited to 'src/infrastructure')
-rwxr-xr-xsrc/infrastructure/scripts/reconfigure.sh3
1 files changed, 2 insertions, 1 deletions
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/