mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-01-28 16:51:49 -05:00
Make sure that the scratch dirs have rwx permissions before we try
a recursive rm.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user