Skip to content

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

@dbarker

Description

@dbarker

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions