Skip to content

mysql:5.5: can't chown on nfs mount #153

Closed
@pebbe

Description

@pebbe

Running mysql:5.5 with /var/lib/mysql mounted on a nfs file system, I get this error:

chown: changing ownership of '/var/lib/mysql/': Invalid argument

I edited the entrypoint script to see if I had write access in /var/lib/mysql, and I have, and files I create in the entrypoint script are created in the mounted directory. It's just the chown that fails, and at that point, the script fails.

It works fine on an ext4 file system on the same machine, and then the result of chown is 999:localadmin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions