diff --git a/testssl.sh b/testssl.sh index 6b694e4..acd0904 100755 --- a/testssl.sh +++ b/testssl.sh @@ -20518,7 +20518,9 @@ maketempf() { fi TEMPDIR=$(mktemp -d "$PWD/testssl.XXXXXX") || exit $ERR_FCREATE fi - TMPFILE=$TEMPDIR/tempfile.txt || exit $ERR_FCREATE + ls "$TEMPDIR/" 2>/dev/null || fatal "temporary directory needed not readeable" $ERR_FCREATE + TMPFILE=$TEMPDIR/tempfile.txt + touch $TEMPFILE 2>/dev/null || fatal "temporary directory needed not writeable" $ERR_FCREATE if [[ "$DEBUG" -eq 0 ]]; then ERRFILE="/dev/null" else