Skip to content

WithBindMount issues with file permissions and mapping cross OS #7078

@davidfowl

Description

@davidfowl

There are several issues with WithBindMount that have been filed by users resulting in 2 themes:

  1. When there's a mismatch between the container and the host user, the container may have insufficient permissions to access to file (we've worked around this before Set read permissions to allow pgadmin container to read the generated config file #4191)
  2. When the host for the docker container isn't the same as the machine calling WithBindMount, paths don't get mapped directly.

I ran into this while trying to run our tests on github actions. Certain containers when using a bind mount need to set the permissions to make it accessible.

We should look into fixing these issues.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions