diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-04-17 14:53:30 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-04-24 16:06:54 +0200 |
commit | 3db6de33b2b47a3c31bc8f8deb721abe0c5b0e1c (patch) | |
tree | 335035a147364001b85c674ec542f2ca5dab84b1 /support-files | |
parent | 17088dd941b6c759e294cc3a9767574b19734694 (diff) | |
download | mariadb-git-3db6de33b2b47a3c31bc8f8deb721abe0c5b0e1c.tar.gz |
MDEV-17640 UMASK_DIR configuration for mysql_install_db is not applied to mysql database
create mysql and test databases with SQL, not mkdir.
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/rpm/server-postin.sh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/support-files/rpm/server-postin.sh b/support-files/rpm/server-postin.sh index ad783812184..57db9fd5d90 100644 --- a/support-files/rpm/server-postin.sh +++ b/support-files/rpm/server-postin.sh @@ -53,9 +53,6 @@ if [ $1 = 1 ] ; then chown -R %{mysqld_user}:%{mysqld_group} $datadir if [ ! -e $datadir/mysql ]; then - # Create data directory - mkdir -p $datadir/{mysql,test} - # Initiate databases %{_bindir}/mysql_install_db --rpm --user=%{mysqld_user} fi |