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

WithBindMount issues with file permissions and mapping cross OS #7078

Open
davidfowl opened this issue Jan 13, 2025 · 1 comment
Open

WithBindMount issues with file permissions and mapping cross OS #7078

davidfowl opened this issue Jan 13, 2025 · 1 comment
Labels
area-integrations Issues pertaining to Aspire Integrations packages area-orchestrator
Milestone

Comments

@davidfowl
Copy link
Member

davidfowl commented Jan 13, 2025

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.

@davidfowl davidfowl changed the title BindMount issue roll up WithBindMount issues with file permissions and mapping cross OS Jan 13, 2025
@davidfowl davidfowl added untriaged New issue has not been triaged area-integrations Issues pertaining to Aspire Integrations packages labels Jan 13, 2025
@dbreshears dbreshears added this to the Backlog milestone Jan 13, 2025
@dbreshears dbreshears removed the untriaged New issue has not been triaged label Jan 13, 2025
@dbreshears
Copy link
Contributor

Moving to the backlog as we need to discuss options and scope is a bit large for 9.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-integrations Issues pertaining to Aspire Integrations packages area-orchestrator
Projects
None yet
Development

No branches or pull requests

2 participants