Hi there,
I deployed two k8s clusters with CRI-O on two cloud VMs, and I found two nodes have different rootfs permissions. I observed that on AWS hosts, the directory /var/lib/containers/storage/overlay/<container-id>/merged mode is 0755, and on Azure hosts, this dir mode is 0555.
I have read some source code at the version of 1.24.5, and found by default, the mergedDir's mode is 0700, the code that I found out is idtools.MkdirAs(mergedDir, 0700, rootUID, rootGID).
I am not very familiar with this repo, does anyone know why? Or can someone please provide some information that can help to figure this out? Thanks very much!
Hi there,
I deployed two k8s clusters with CRI-O on two cloud VMs, and I found two nodes have different rootfs permissions. I observed that on AWS hosts, the directory
/var/lib/containers/storage/overlay/<container-id>/mergedmode is 0755, and on Azure hosts, this dir mode is 0555.I have read some source code at the version of 1.24.5, and found by default, the mergedDir's mode is 0700, the code that I found out is
idtools.MkdirAs(mergedDir, 0700, rootUID, rootGID).I am not very familiar with this repo, does anyone know why? Or can someone please provide some information that can help to figure this out? Thanks very much!