Skip to content

Do not preserve owner user/group when extracting tar archive#2286

Queued
0405ysj wants to merge 1 commit intogoogle:mainfrom
0405ysj:no_same_owner
Queued

Do not preserve owner user/group when extracting tar archive#2286
0405ysj wants to merge 1 commit intogoogle:mainfrom
0405ysj:no_same_owner

Conversation

@0405ysj
Copy link
Collaborator

@0405ysj 0405ysj commented Mar 19, 2026

When extracting tar archive such as cvd-host_package.tar.gz, it tries to preserve owning uid/gid written in tar archive during extraction if it can do chown, such as root. This matters when podcvd tries to fetch cvd-host_package.tar.gz and extract it while executing podcvd create, podcvd load, or podcvd fetch, as the executor cannot get write permission of them.

With this change, we can try to apply cvd E2E tests on podcvd afterwards as podcvd fetch and podcvd create can be working as intended.

Context: b/491256959

@0405ysj 0405ysj added the kokoro:force-run Trigger a presubmit build unconditionally. label Mar 19, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed the kokoro:force-run Trigger a presubmit build unconditionally. label Mar 19, 2026
@0405ysj 0405ysj requested review from Databean, ikicha and k311093 March 19, 2026 06:50
@0405ysj 0405ysj marked this pull request as ready for review March 19, 2026 06:59
@0405ysj 0405ysj enabled auto-merge March 20, 2026 00:34
@0405ysj 0405ysj added this pull request to the merge queue Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants