Commit 1b1b9413 authored by Teodor Mircea Ionita's avatar Teodor Mircea Ionita

MDEV-17022: check if mtr --mem location is writeable

parent 1b797e9e
......@@ -1457,7 +1457,7 @@ sub command_line_setup {
foreach my $fs (@tmpfs_locations)
{
if ( -d $fs )
if ( -d $fs && -w $fs )
{
my $template= "var_${opt_build_thread}_XXXX";
$opt_mem= tempdir( $template, DIR => $fs, CLEANUP => 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment