diff options
author | EuAndreh <eu@euandre.org> | 2023-03-27 08:35:00 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-27 08:38:16 -0300 |
commit | 3b00cb22292d20a451f2da500a86fef58cd4db68 (patch) | |
tree | 542ec2fad0c2a162429aab08fb31504a71b92e68 /src | |
parent | Build HTML and install it via CI (diff) | |
download | server-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')
-rwxr-xr-x | src/infrastructure/scripts/reconfigure.sh | 3 |
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/ |