admin管理员组

文章数量:1389858

When I try to clone a GitLab repository, the following error message appears:

myusername@session-e01ec3c9ab5a7b7b9d4ff-my-username---vs-code-svbv6x:~$ git clone https://username:[email protected]/folder/reponame.git

Cloning into 'reponame'...

remote: Enumerating objects: 116, done.

remote: Counting objects: 100% (8/8), done.

remote: Compressing objects: 100% (6/6), done.

remote: Total 116 (delta 2), reused 0 (delta 0), pack-reused 108 (from 1)

Receiving objects: 100% (116/116), 17.82 MiB | 88.14 MiB/s, done.

fatal: could not open '/home/myusername/reponame/.git/objects/pack/tmp_pack_uSnA9n' for reading: Permission denied

fatal: fetch-pack: invalid index-pack output

So it seems that GitLab is creating a temporary folder that I do not have permission to access. Short description of the work environment: Posit Workbench is running in Kubernetes. Every user and the new session gets his own new pod and a new Longhorn volume will be provided, so the user can have persistent storage. When creating a new session, we provide a docker Image with Ubuntu as base. In that Docker Image, the necessary owner rights are provided (recursive) to the users home directory. Same with the Longhorn volume.

Every help is highly apperciated - thank you in advance!

本文标签: kubernetesSelf hosted Posit Workbench Permission denied when GitLab creates temporary folderStack Overflow