mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
MDEV-4068 rpm scriptlet chown command dangerous
add --mysqld option to my_print_defaults change server-postin script to use that
This commit is contained in:
@@ -237,7 +237,7 @@ sub defaults_for_group
|
||||
|
||||
sub init_log
|
||||
{
|
||||
foreach my $opt (defaults_for_group('mysqld mariadb'))
|
||||
foreach my $opt (defaults_for_group('--mysqld'))
|
||||
{
|
||||
if ($opt =~ m/^--datadir=(.*)/ && -d "$1" && -w "$1")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user