Skip to content

entrypoint fails on chown if there are readonly hidden files in the datadir #587

Closed
@jeffbearer

Description

@jeffbearer

If there are readonly elements in the datadir like a .snapshot directory from a storage server the entrypoint fails on the chown of the datadir since the script is running the the -e shell option.

It can be worked around with adding a || true to that line. or a more elegant solution may be desired.

chown -R mysql:mysql "$DATADIR" || true

Metadata

Metadata

Assignees

No one assigned

    Labels

    RequestRequest for image modification or feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions