Skip to content

[GitLab CI] - Fatal: can't create directory '/home/ubuntu/.gnupg': Permission denied #33789

Closed Answered by The-Lomax
The-Lomax asked this question in Request Help
Discussion options

You must be logged in to vote

Hi again. I wanted to check back on this because i have found the root cause of the problem. The issue was, that our GitLab is running on a dedicated platform, and all the issues were coming from the runners we have been provided with. I have managed to find a runner that wasn't so severely limited (as much as to not have any user accounts, etc.) and specified the job description using GitLab CICD Job Tags. This worked out of the box, including GPG commit signing, etc.
Wanted to post this, in case someone would come across similar issue (though it's rare, as it stems from the type of infrastructure available).
Again, @rarkins thank you for your help!
Here's the proof:

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
8 replies
@The-Lomax
Comment options

@rarkins
Comment options

@The-Lomax
Comment options

@rarkins
Comment options

@The-Lomax
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by The-Lomax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants