Skip to content

[v3-2-test] Fix CARGO_HOME location for airflow user builds (#64899)#64914

Merged
potiuk merged 1 commit intov3-2-testfrom
backport-e62a12d-v3-2-test
Apr 8, 2026
Merged

[v3-2-test] Fix CARGO_HOME location for airflow user builds (#64899)#64914
potiuk merged 1 commit intov3-2-testfrom
backport-e62a12d-v3-2-test

Conversation

@potiuk
Copy link
Copy Markdown
Member

@potiuk potiuk commented Apr 8, 2026

Move CARGO_HOME from /usr/local/cargo to /home/airflow/.cargo so that cargo builds work correctly when running as the airflow user, avoiding permission issues with the system-wide cargo directory. (cherry picked from commit e62a12d)


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

Move CARGO_HOME from /usr/local/cargo to /home/airflow/.cargo so that
cargo builds work correctly when running as the airflow user, avoiding
permission issues with the system-wide cargo directory.
(cherry picked from commit e62a12d)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@boring-cyborg boring-cyborg bot added the area:production-image Production image improvements and fixes label Apr 8, 2026
@potiuk potiuk merged commit 4b5b7d0 into v3-2-test Apr 8, 2026
2 checks passed
@potiuk potiuk deleted the backport-e62a12d-v3-2-test branch April 8, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:production-image Production image improvements and fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant