From dfcb3865698eb380ccfff689880f7fc4e2638331 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 21 May 2007 02:06:51 +0000 Subject: [PATCH 1/1] Make sure that the scratch dirs have rwx permissions before we try a recursive rm. --- runtests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtests.sh b/runtests.sh index 286f0c5d..ad93862c 100755 --- a/runtests.sh +++ b/runtests.sh @@ -221,7 +221,7 @@ suitedir="$srcdir/testsuite" export scratchdir suitedir prep_scratch() { - [ -d "$scratchdir" ] && rm -rf "$scratchdir" + [ -d "$scratchdir" ] && chmod -R u+rwX "$scratchdir" && rm -rf "$scratchdir" mkdir "$scratchdir" # Get rid of default ACLs and dir-setgid to avoid confusing some tests. $setfacl_nodef "$scratchdir" || true -- 2.34.1