Meccep45 Posted July 11, 2021 Share Posted July 11, 2021 если вдруг у mariadb файлы конфигурации окажутся 666 вместо 644 то при запуске она ругнётся по публичному ~ # mysql_install_db --force Warning: World-writable config file '/opt/etc/mysql/conf.d/50-server.cnf' is ignored Installing MariaDB/MySQL system tables in '/opt/data' ... Warning: World-writable config file '/opt/etc/mysql/conf.d/50-server.cnf' is ignored и создаст базу по пути ldata="/opt/data" про писаному в mysql_install_db. давно мучает вопрос это защита от дурака или ошибка? Quote Link to comment Share on other sites More sharing options...
TheBB Posted July 12, 2021 Share Posted July 12, 2021 8 часов назад, Meccep45 сказал: файлы конфигурации окажутся 666 вместо 644 $(INSTALL_DATA) conf/50-server.cnf (см. коммит mariadb: install config files readable for all) см. INSTALL_DATA INSTALL_CONF 8 часов назад, Meccep45 сказал: и создаст базу по пути ldata="/opt/data" про писаному в mysql_install_db. давно мучает вопрос это защита от дурака или ошибка? перекочевало из rtndev-3x (см. коммит mariadb added) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.