From bf7c8ba557c70ac20dc87f0df1508312b668ecab Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 15 Jun 2002 09:46:32 +0000 Subject: [PATCH] (trap): Make sure the temporary hierarchy is writable before removing it. --- tests/sample-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sample-test b/tests/sample-test index 104f83db8c..3af9e68195 100644 --- a/tests/sample-test +++ b/tests/sample-test @@ -13,7 +13,7 @@ fi pwd=`pwd` t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$ -trap 'status=$?; cd $pwd; rm -rf $t0 && exit $status' 0 +trap 'status=$?; cd $pwd; chmod -R 700 $t0; rm -rf $t0 && exit $status' 0 trap '(exit $?); exit' 1 2 13 15 framework_failure=0 -- 2.47.3