Skip to content

Commit b12b7f5

Browse files
Merge #111
111: fix rsync changing permissions r=Mic92 a=Mic92 Co-authored-by: Pogobanane <aenderboy@gmx.de>
2 parents 18f4de9 + bdfbbd5 commit b12b7f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/nixos-anywhere.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ if [[ -n ${extra_files-} ]]; then
364364
fi
365365
step Copying extra files
366366
rsync -rlpv -FF -e "ssh -i \"$ssh_key_dir\"/nixos-anywhere -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" "$extra_files" "${ssh_connection}:/mnt/"
367+
ssh_ "chmod 755 /mnt" # rsync also changes permissions of /mnt
367368
fi
368369

369370
step Installing NixOS

0 commit comments

Comments
 (0)