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

Devcontainer in parking sensors sample changes file ownership in linux/wsl #646

Open
StromFLIX opened this issue Aug 10, 2023 · 0 comments · May be fixed by #647
Open

Devcontainer in parking sensors sample changes file ownership in linux/wsl #646

StromFLIX opened this issue Aug 10, 2023 · 0 comments · May be fixed by #647
Labels
bug Something isn't working

Comments

@StromFLIX
Copy link

StromFLIX commented Aug 10, 2023

Description

The devcontainer is currently setup with a root user and mounts the local filesystem. If you then edit or create new files it sets the owner of that file as root, which creates permission errors when editing files in the local linux/wsl environment.

Expected Behavior

No changes in permissions and creating files sets

Reproduce

  1. Clone repository in wsl
  2. Start devcontainer
  3. Create test.file inside container
  4. Try editing file locally in wsl/linux
touch test.file
touch: cannot touch 'test.file': Permission denied

image

@StromFLIX StromFLIX added the bug Something isn't working label Aug 10, 2023
@StromFLIX StromFLIX linked a pull request Aug 10, 2023 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant