Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Do
Description
When creating the data directories with the mysql_install_db script, UMASK settings in /etc/systemd/system/mariadb.service.d/ are ignored.
Setting UMASK in the environment works correctly, but setting /etc/systemd/system/mariadb.service.d/ as instructed in https://mariadb.com/kb/en/library/specifying-permissions-for-schema-data-directories-and-tables/ has no effect on the mysql_install_db script.
Note that UMASK settings are respected by the server itself. This is only an issue when invoking mysql_install_db manually on systemd distributions.
Attachments
Issue Links
- relates to
-
MDEV-15844 Add umask and umask_dir as server variable
- Needs Feedback
-
MDEV-16415 Make UMASK and UMASK_DEV configurable via server.cnf
- Closed
-
MDEV-17640 UMASK_DIR configuration for mysql_install_db is not applied to mysql database.
- Closed
-
MDEV-19010 run mysql_install_db automatically
- Open
-
MDEV-19126 Add UMASK as a configuration parameter in [mysqld]
- Closed