最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

kubernetes - Self hosted Posit Workbench: Permission denied when GitLab creates temporary folder - Stack Overflow

programmeradmin2浏览0评论

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!

发布评论

评论列表(0)

  1. 暂无评论