Skip to content

[pvc] /workspace directory is owned by nobody #14003

@WVerlaek

Description

@WVerlaek

Bug description

/workspace directory is owned by nobody

Steps to reproduce

On a workspace with PVC enabled, the /workspace directory is owned by nobody:

$ ls -al /
...
drwxrwsr-x  13 nobody gitpod  4096 Oct 19 13:13 workspace

This prevents e.g. the root user from making a new directory inside /workspace (but it's fine when done from the gitpod user):

$ sudo mkdir -p /workspace/directory
mkdir: cannot create directory ‘/workspace/directory’: Permission denied

With pvc disabled, it's owned by gitpod:

$ ls -al /
...
drwxr-xr-x   7 gitpod gitpod   98 Oct 19 13:41 workspace

Workspace affected

No response

Expected behavior

The prebuild workspace should be up and running.

Example repository

No response

Anything else?

#7901

Metadata

Metadata

Assignees

Labels

team: workspaceIssue belongs to the Workspace teamtype: bugSomething isn't working

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions