Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Shadow-utils filecaps not set correctly. #470

Open
rhatdan opened this issue Apr 1, 2024 · 0 comments
Open

Shadow-utils filecaps not set correctly. #470

rhatdan opened this issue Apr 1, 2024 · 0 comments

Comments

@rhatdan
Copy link
Collaborator

rhatdan commented Apr 1, 2024

podman run quay.io/centos-bootc/centos-bootc:stream9 rpm -qV shadow-utils | grep /usr/bin/new.*map
.......TP /usr/bin/newgidmap
.......TP /usr/bin/newuidmap

If you do a
RUN rpm --setcaps shadow-utils
It fixes the issue. I think the tooling that builds the image is dropping file capabilties.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant