From 3b254514491fc04a5bb490c0bcf045168f696fee Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Mon, 11 Nov 2013 12:03:25 -0600 Subject: [PATCH] Accommodate systems where paths inherit their group from the parent dir. Thanks to Thomas Klausner for reporting the problem and helping test the solution. Signed-off-by: Rob Browning --- t/test-restore-map-owner.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/test-restore-map-owner.sh b/t/test-restore-map-owner.sh index 6ebfdc5..05c3d41 100755 --- a/t/test-restore-map-owner.sh +++ b/t/test-restore-map-owner.sh @@ -31,6 +31,8 @@ WVPASS cd "$tmpdir" WVSTART "restore --map-user/group/uid/gid (control)" WVPASS mkdir src WVPASS touch src/foo +# Some systems assign the parent dir group to new paths. +WVPASS chgrp -R "$group" src WVPASS bup index src WVPASS bup save -n src src WVPASS bup restore -C dest "src/latest/$(pwd)/src/" -- 2.39.2