From 86324ade28f499762725d2e3c8a3b3b5987dfe83 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 30 Sep 2016 19:44:22 +0200 Subject: with new btrfs subvolume linking is broken --- hel/recv-media.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hel/recv-media.nix') diff --git a/hel/recv-media.nix b/hel/recv-media.nix index 07c96839..488f0cca 100644 --- a/hel/recv-media.nix +++ b/hel/recv-media.nix @@ -15,6 +15,6 @@ writeScriptBin "recv-media" '' dir=/var/media target="''${dir}"/$(basename "$1") - cp -lvn "$1" "''${target}" + cp -vn --preserve=all "$1" "''${target}" touch -c -m -t "$2" "''${target}" '' -- cgit v1.2.3