From bdfbbd572a9d36986717581883ede6d5341a1672 Mon Sep 17 00:00:00 2001 From: Pogobanane Date: Wed, 8 Feb 2023 16:21:48 +0100 Subject: [PATCH] fix rsync changing permissions --- src/nixos-anywhere.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nixos-anywhere.sh b/src/nixos-anywhere.sh index 6c150b18..9ad05a88 100755 --- a/src/nixos-anywhere.sh +++ b/src/nixos-anywhere.sh @@ -364,6 +364,7 @@ if [[ -n ${extra_files-} ]]; then fi step Copying extra files rsync -rlpv -FF -e "ssh -i \"$ssh_key_dir\"/nixos-anywhere -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" "$extra_files" "${ssh_connection}:/mnt/" + ssh_ "chmod 755 /mnt" # rsync also changes permissions of /mnt fi step Installing NixOS