We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a18445 commit ba6cdfeCopy full SHA for ba6cdfe
src/nixos-remote.sh
@@ -318,6 +318,7 @@ if [[ -n ${extra_files-} ]]; then
318
extra_files="$extra_files/"
319
fi
320
rsync -rlpv -FF -e "ssh -i \"$ssh_key_dir\"/nixos-remote -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" "$extra_files" "${ssh_connection}:/mnt/"
321
+ ssh_ "chmod 755 /mnt" # rsync also changes permissions of /mnt
322
323
324
ssh_ <<SSH
0 commit comments