From a61ffbafe5682b65d4a2a8846e9ec20298ba7e17 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 10 Jun 2020 13:58:43 -0700 Subject: [PATCH] Make sure the tmpdir2 dir is writable. --- testsuite/chmod-temp-dir.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/chmod-temp-dir.test b/testsuite/chmod-temp-dir.test index 1e05bcb5..085ab008 100644 --- a/testsuite/chmod-temp-dir.test +++ b/testsuite/chmod-temp-dir.test @@ -17,7 +17,7 @@ sdev=`$TOOLDIR/getfsdev $scratchdir` tdev=$sdev for tmpdir2 in "${RSYNC_TEST_TMP:-/override-tmp-not-specified}" /run/shm/tmp /var/tmp /tmp; do - [ -d "$tmpdir2" ] || continue + [ -d "$tmpdir2" -a -w "$tmpdir2" ] || continue tdev=`$TOOLDIR/getfsdev "$tmpdir2"` [ x$sdev != x$tdev ] && break done -- 2.47.2