Set owner/group to root/root when unarchiving kata-containers (#10338)

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
pull/10346/head
Nico 2023-08-08 14:06:15 +02:00 committed by GitHub
parent 1c5f657f97
commit b5ce69cf3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@
src: "{{ downloads.kata_containers.dest }}"
dest: "/"
mode: 0755
owner: root
group: root
remote_src: yes
- name: Kata-containers | Create config directory