Repository navigation
worker: add --numeric-owner to tar commands when streaming volumes - #9663
Merged
Merged
Conversation
file ownership on streamed volumes is now preserved numerically rather than re-resolved by name on the destination, which is the default tar behaviour. This caused issues if workers had different UID->User mappings, which is NOT a common setup for workers. After streaming, we'd re-map to the UID mapping inside the container and that's when ownership would break. go-archive was updated to also use the `--numeric-owner` flag. Signed-off-by: Taylor Silva <[email protected]>
taylorsilva
force-pushed
the
9662-tar-numeric-owner
branch
from
July 28, 2026 15:50
07adec4 to
2b58a08
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes proposed by this PR
closes #9662
File ownership on streamed volumes is now preserved numerically rather than re-resolved by name on the destination, which is the default tar behaviour. This caused issues if workers had different UID->User mappings, which is NOT a common setup for workers. After streaming, we'd re-map to the UID mapping inside the container and that's when ownership would break.
I don't think this will break anything for existing Concourse clusters that don't already have this issue. You'd only have this issue if the UID mapping on your workers were different, which is typically NOT the case when people setup a Concourse cluster. Workers are typically homogeneous, avoiding this issue entirely.