Skip to content
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

Set owner/group to root/root when unarchiving kata-containers #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rybnico
Copy link
Owner

@rybnico rybnico commented Aug 4, 2023

What type of PR is this?
/kind bug

What this PR does / why we need it:
The unarchiving task in the kata-containers role sets the owner/group of the kata-containers directories and files to the owner/group specified in the archive, which is 1001:123. Because the archive is unarchived in /, the owner/group of / is changed to 1001:123 too which is not wanted and breaks stuff.

Does this PR introduce a user-facing change?:

NONE

Set owner/group to root/root when unarchiving kata-containers binary to prevent kata-containers binaries/directories and especially / from getting chowned to 1001:123, the file owner specified in the kata-containers archive
@rybnico rybnico added the bug Something isn't working label Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant