[debian-mysql] mysql-5.7: secure_file_priv

Bjoern Boschman bjoern at boschman.de
Tue Dec 29 11:22:08 UTC 2015


Hi folks,

I've started working on a mysql-5.7 branch [0].

While doing so I had to phase the following difference between 5.6<->5.7

secure_file_priv [1]

mysql-5.6 default for this setting was 'empty'  which simply disables this
feature.
mysql-5.7 builds with (what we currently do) '/var/lib/mysql-files' which
is based on the used INSTALL_LAYOUT=RPM [2]

my question is now: how shall I handle this?
I would not like to add  secure_file_priv= within mysqld.cnf as this would
deactivate this feature for customers who want to use this on purpose.

I'm thinking of switching INSTALL_LAYOUT=STANDALONE as this seems to be the
only usage of this cmake flag.

@Oracle employees: can you confirm that this has no other impact?

[0] http://anonscm.debian.org/cgit/pkg-mysql/mysql-5.7.git/
[1]
https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_secure_file_priv
[2]
https://dev.mysql.com/doc/refman/5.7/en/source-configuration-options.html#option_cmake_install_layout
--
Mit freundlich Grüßen / Kind regards

Björn Boschman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20151229/77fbcca1/attachment.html>


More information about the pkg-mysql-maint mailing list