From: Rob Browning Date: Mon, 11 Nov 2013 18:03:25 +0000 (-0600) Subject: Accommodate systems where paths inherit their group from the parent dir. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=3b254514491fc04a5bb490c0bcf045168f696fee;p=packages%2Fb%2Fbup.git 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 --- 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/"