Skip to content

Use xattr to fix container image root ownership and mode #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 4, 2022

Conversation

slp
Copy link
Collaborator

@slp slp commented Aug 4, 2022

No description provided.

slp added 2 commits August 4, 2022 22:56
On macOS, buildah leaves the container image root with the uid and the
permissions set to 0700. But, for maximum compatibility with Linux
apps, we need it to be owned by root:root with mode 0555.

Use "xattr" to fix the ownership and mode after mounting the container
image.

Signed-off-by: Sergio Lopez <[email protected]>
This version just contains a minor fix for macOS, bump release number
to v0.2.1

Signed-off-by: Sergio Lopez <[email protected]>
@slp slp merged commit ba9e585 into containers:main Aug 4, 2022
@slp slp deleted the fix-root branch August 4, 2022 21:00
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.

1 participant