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

Dockerfile.dev runs as root and changes ownership of host .git/objects #3265

Closed
dbarker opened this issue Feb 10, 2025 · 0 comments · Fixed by #3270
Closed

Dockerfile.dev runs as root and changes ownership of host .git/objects #3265

dbarker opened this issue Feb 10, 2025 · 0 comments · Fixed by #3270
Labels
bug Something isn't working triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@dbarker
Copy link
Contributor

dbarker commented Feb 10, 2025

Describe your environment
main at 7ade45b

Steps to reproduce

  1. open the devcontainer
  2. change and save a file
  3. try to stash the file from the host

What is the expected behavior?
no permissions issues

What is the actual behavior?

error: insufficient permission for adding an object to repository database .git/objects
Cannot save the current worktree state

Additional context
Dockerfile.dev runs as root

@dbarker dbarker added the bug Something isn't working label Feb 10, 2025
@github-actions github-actions bot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Feb 10, 2025
@marcalff marcalff added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants