runtime: do not chown idmapped volumes#16739
runtime: do not chown idmapped volumes#16739openshift-merge-robot merged 1 commit intocontainers:mainfrom
Conversation
do not chown a volume when idmap is used. Closes: containers#16724 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
|
I didn't test this yet but what happens if you create the volume externally and it still has Or even worse, what if you create it externally, have a container without the idmap flag chown it, and then use the same volume in a container with the idmap flag? It should probably show a warning since neither doing nothing nor chowning back to 0 sound like decisions that should be made implicitly. |
|
LGTM |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe, mheon The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
do not chown a volume when idmap is used.
Closes: #16724
Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com
Does this PR introduce a user-facing change?