You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the first few minutes after a container starts, the owner of the repository folder is root. At seemingly random, it changes to the correct user (in my case: node for the official Node.js-based dev container by Microsoft).
Below are some commands run from within the container shortly after starting it up. No other commands were run between them. I've highlighted the permission change in yellow:
Here's the text version of the screenshot:
git status results in fatal: detected dubious ownership in repository at ...
ls -alF shows current working directory owned by root:root
Another ls -alF, run perhaps 30-60 seconds after the previous, shows current working directory owned by node:node, as it should be
Another run of git status results in no error. (Also the branch name shows in the bash prompt since the permissions are in a corrected state)
What did you expect to happen instead?
The permissions should be correct upon the launching of the editor connected to the container.
How can we reproduce the bug? (as minimally and precisely as possible)
What happened?
For the first few minutes after a container starts, the owner of the repository folder is
root
. At seemingly random, it changes to the correct user (in my case:node
for the official Node.js-based dev container by Microsoft).Below are some commands run from within the container shortly after starting it up. No other commands were run between them. I've highlighted the permission change in yellow:
Here's the text version of the screenshot:
git status
results infatal: detected dubious ownership in repository at ...
ls -alF
shows current working directory owned byroot:root
ls -alF
, run perhaps 30-60 seconds after the previous, shows current working directory owned bynode:node
, as it should begit status
results in no error. (Also the branch name shows in the bash prompt since the permissions are in a corrected state)What did you expect to happen instead?
The permissions should be correct upon the launching of the editor connected to the container.
How can we reproduce the bug? (as minimally and precisely as possible)
devcontainer.json
:Dockerfile
:Local Environment:
v0.5.12
DevPod Provider:
Anything else we need to know?
The IDE used for the container is VS Code for web.
Thank you for this awesome tool!
The text was updated successfully, but these errors were encountered: