Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL: World-writable config warning during startup #2712

Closed
alex1989hu opened this issue Apr 21, 2022 · 0 comments · Fixed by #2713
Closed

MySQL: World-writable config warning during startup #2712

alex1989hu opened this issue Apr 21, 2022 · 0 comments · Fixed by #2713

Comments

@alex1989hu
Copy link
Contributor

alex1989hu commented Apr 21, 2022

I see a warning message during startup of MySQL (db_server):

mysqld: [Warning] World-writable config file '/etc/mysql/conf.d/trillian.cnf' is ignored.

The expected permission shall be 644 based on the default directory content:

/etc/mysql/conf.d# stat -c "%a %n" *
644 docker.cnf
644 mysql.cnf
644 mysqldump.cnf
alex1989hu added a commit to alex1989hu/trillian that referenced this issue Apr 21, 2022
Signed-off-by: Alex Szakaly <alex.szakaly@gmail.com>
alex1989hu added a commit to alex1989hu/trillian that referenced this issue Apr 21, 2022
Signed-off-by: Alex Szakaly <alex.szakaly@gmail.com>
pav-kv pushed a commit that referenced this issue Apr 22, 2022
Fix MySQL world-writable config warning

    mysqld: [Warning] World-writable config file '/etc/mysql/conf.d/trillian.cnf' is ignored.

Use additional command in RUN ... instead of COPY --chmod=644 ... to being compatible
with old Docker Engines.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant