Skip to content

Commit

Permalink
Merge #111
Browse files Browse the repository at this point in the history
111: fix rsync changing permissions r=Mic92 a=Mic92



Co-authored-by: Pogobanane <aenderboy@gmx.de>
  • Loading branch information
bors[bot] and pogobanane authored May 15, 2023
2 parents 18f4de9 + bdfbbd5 commit b12b7f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nixos-anywhere.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b12b7f5

Please sign in to comment.