diff --git a/hadoop-ozone/dist/src/main/compose/testlib.sh b/hadoop-ozone/dist/src/main/compose/testlib.sh index 54205001f7d3..9c4c05cc1294 100755 --- a/hadoop-ozone/dist/src/main/compose/testlib.sh +++ b/hadoop-ozone/dist/src/main/compose/testlib.sh @@ -398,7 +398,7 @@ run_rebot() { shift 2 - local tempdir="$(mktemp -d --suffix rebot -p "${output_dir}")" + local tempdir="$(mktemp -d "${output_dir}"/rebot-XXXXXX)" #Should be writeable from the docker containers where user is different. chmod a+wx "${tempdir}" if docker run --rm -v "${input_dir}":/rebot-input -v "${tempdir}":/rebot-output -w /rebot-input \