-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[pvc] /workspace
directory is owned by nobody
#14003
Comments
This is due to the way k8s mounts PVC. It mounts folder as root:root. |
Not aware of a better solution, I think the init container + chown approach makes sense |
+1 Question: I thought we need to recursive all the files and folders to change the UID, doesn't it? |
Current progress is blocked until we resolve this: #14103 |
nope. PR with fix is pending review. |
Bug description
/workspace directory is owned by nobody
Steps to reproduce
On a workspace with PVC enabled, the
/workspace
directory is owned bynobody
:This prevents e.g. the root user from making a new directory inside
/workspace
(but it's fine when done from thegitpod
user):With pvc disabled, it's owned by
gitpod
:Workspace affected
No response
Expected behavior
The prebuild workspace should be up and running.
Example repository
No response
Anything else?
#7901
The text was updated successfully, but these errors were encountered: