Skip to content

docs: clarify fix_upload_owner default and non-root ownership - #254

Open
ADITHYAKUMARREDDY wants to merge 1 commit into
hashicorp:mainfrom
ADITHYAKUMARREDDY:fix/fix-upload-owner-docs-default
Open

ADITHYAKUMARREDDY wants to merge 1 commit into
hashicorp:mainfrom
ADITHYAKUMARREDDY:fix/fix-upload-owner-docs-default

Conversation

@ADITHYAKUMARREDDY

Copy link
Copy Markdown

Fixes #64

Summary

Default fix_upload_owner to true only when the option is unset (same pattern as pull), and clarify docs: when false, uploaded provisioner scripts keep Docker copy ownership (often root), which causes permission denied for non-root container USER.

Test plan

  • go test ./builder/docker/...
  • Confirm unset fix_upload_owner still defaults to true after Prepare
  • Confirm explicit fix_upload_owner = false is preserved

Default fix_upload_owner to true only when the option is unset (same
pattern as pull), and document why non-root container USER builds need
it to avoid permission denied on uploaded provisioner scripts.

Fixes hashicorp#64
@ADITHYAKUMARREDDY
ADITHYAKUMARREDDY requested a review from a team as a code owner November 26, 2026 15:58
@hashicorp-cla-app

hashicorp-cla-app Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@hashicorp-cla-app

Copy link
Copy Markdown

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.

@ADITHYAKUMARREDDY

Copy link
Copy Markdown
Author

recheck

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.

Docker builder documentation is incorrect (fix_upload_owner)

1 participant