Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Sep 22, 2023

In case docker is run in rootless mode, the host UID is mapped to root user automatically and host user id is mapped to 100999 (unknown) so changing ownership for created files in rootless mode is problematic as it makes the generated files inaccessible


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

In case docker is run in rootless mode, the host UID is mapped to root
user automatically and host user id is mapped to 100999 (unknown) so
changing ownership for created files in rootless mode is problematic
as it makes the generated files inaccessible
@potiuk potiuk force-pushed the support-rootless-docker branch from 209ec4a to 24ae15e Compare September 22, 2023 03:37
@hussein-awala hussein-awala merged commit 0631af8 into apache:main Sep 22, 2023
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Oct 5, 2023
@ephraimbuddy ephraimbuddy added this to the Airflow 2.7.2 milestone Oct 5, 2023
ephraimbuddy pushed a commit that referenced this pull request Oct 5, 2023
In case docker is run in rootless mode, the host UID is mapped to root
user automatically and host user id is mapped to 100999 (unknown) so
changing ownership for created files in rootless mode is problematic
as it makes the generated files inaccessible

(cherry picked from commit 0631af8)
@potiuk potiuk deleted the support-rootless-docker branch November 17, 2023 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants