Skip to content

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

Merged
slp merged 2 commits into
libkrun:mainfrom
slp:fix-root
Aug 4, 2022
Merged

Use xattr to fix container image root ownership and mode#28
slp merged 2 commits into
libkrun:mainfrom
slp:fix-root

Conversation

@slp
Copy link
Copy Markdown
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 <slp@sinrega.org>
This version just contains a minor fix for macOS, bump release number
to v0.2.1

Signed-off-by: Sergio Lopez <slp@sinrega.org>
@slp slp merged commit ba9e585 into libkrun: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