mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
MDEV-17022: check if mtr --mem location is writeable
This commit is contained in:
parent
1b797e9e63
commit
1b1b941385
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue