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

Closed
StromFLIX opened this issue Aug 10, 2023 · 0 comments
Closed
Assignees
Labels
bug Something isn't working e2e: parking-sensors-databricks P1 High Priority

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working e2e: parking-sensors-databricks P1 High Priority
Projects
None yet
3 participants