summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/backup.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-12-24 15:39:37 +0100
committermakefu <github@syntax-fehler.de>2016-12-24 15:39:37 +0100
commit78c50fe49599b5c3dd147ebd23253fa2abe53998 (patch)
tree6d609ffc1c59ed6bdb35ef354c5b96de7858e778 /krebs/3modules/backup.nix
parentd385e3c6968d9317b7d8adea3671c79258a24cec (diff)
parentbece7d9da29adde2c79e49c40d975dc46eed4c1e (diff)
Merge remote-tracking branch 'tv/master'
Diffstat (limited to 'krebs/3modules/backup.nix')
-rw-r--r--krebs/3modules/backup.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/krebs/3modules/backup.nix b/krebs/3modules/backup.nix
index 96b283002..bfb0ab591 100644
--- a/krebs/3modules/backup.nix
+++ b/krebs/3modules/backup.nix
@@ -137,6 +137,9 @@ let
echo >&2 "update snapshot current; $rsync_dst <- $rsync_src"
'';
}}
+ # In `dst-rsync`'s `mkdir m 0700 -p` above, we care only about permission
+ # of the deepest directory:
+ # shellcheck disable=SC2174
${local.rsync} >&2 \
-aAXF --delete \
--rsh=${shell.escape ssh} \