-
Notifications
You must be signed in to change notification settings - Fork 308
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
Remote-Containers: Create workspace volume mount as current user instead of root #198
Comments
Take note that I can't simply |
I guess this is more of a Docker issue then a remote-containers issue. There are work arounds for this, for example this project: https://github.com/boxboat/fixuid Since I don't actually need this (my problem turned out the be the CIFS filesystem Docker uses when mounting Windows volumes), and this seems the wrong place for this issue, I'm going to close this. |
Reopening to track this issue. |
This seems to work as expected in the latest (requires VS Code Insiders). Could you check if you still see it @nphmuller ? |
I can still repro the bug in 1.36.0-insider via the steps in the initial post. Version: 1.36.0-insider (user setup) |
You're right, it's Windows specific. I can create a file as user That's all good except for |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
@chrmarti I think the issue got closed because the ‘needs-more-info’ tag wasn’t removed. :) |
@nphmuller You are right - reactivating. 😊 |
@nphmuller @chrmarti This has been updated in the docs. I'm closing since the broader feature that is needed for Linux hosts is tracked in #49 and to some extent #46 and #1050. |
Steps to Reproduce:
Open folder in Container...
node@containerid
ls -l /workspaces
in container.Result: The workspace folder and its files have
root:root
permissionExpected: The workspace folder and its files should have
node:node
permissionNote:
This is not the same issue as #49
That issue described that new files are created with
root:root
permissions, while the container runs asroot
user. My issue describes that files are created asroot:root
, even when the container user is non-root (node
in my example).The text was updated successfully, but these errors were encountered: