Skip to content

Commit 5b6fd8f

Browse files
Merge #68
68: Rsync permissions r=Mic92 a=Mic92 Co-authored-by: Pogobanane <aenderboy@gmx.de>
2 parents 9b1ebfc + 1d9ba4c commit 5b6fd8f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/nixos-anywhere.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,8 @@ fi
314314
ssh_ <<SSH
315315
set -efu ${enable_debug}
316316
# needed for installation if initrd-secrets are used
317-
mkdir -m777 -p /mnt/tmp
317+
mkdir -p /mnt/tmp
318+
chmod 777 /mnt/tmp
318319
nixos-install --no-root-passwd --no-channel-copy --system "$nixos_system"
319320
# We will reboot in background so we can cleanly finish the script before the hosts go down.
320321
# This makes integration into scripts easier

0 commit comments

Comments
 (0)