Skip to content
Discussion options

You must be logged in to vote

Yeah this is a super common gotcha with container jobs, not something wrong with your setup specifically.

What's happening: when you leave off options, the container runs as ue4 (1000), but the workspace on the runner is owned by 1001, so checkout can't write to it. When you switch to root, checkout/build work but Unreal itself refuses to run as root — that's baked into the engine binaries, not a permissions thing you can fix from outside.

The fix that's worked for others: don't try to pick one UID for the whole job. Just run the container as root, let checkout + build happen normally, and right before your test step, (chown -R 1000:1000) the workspace/engine dirs and then run the actual …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sarah-j-smith
Comment options

Answer selected by sarah-j-smith
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question Ask and answer questions about GitHub features and usage Workflow Configuration Topics about workflow files, YAML setup, job dependencies, and general workflow configuration issues Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community! source:ui Discussions created via Community GitHub templates
2 participants