Skip to content

Commit a32b8f2

Browse files
committed
selinux-policy: allow trusted_s to mutate cache_t files
In order for the snapshotter configuration service to be able to clean up snapshotter state directories via "find", processes given trusted_s must be allowed to mutate files that are cache_t, which is given to containerd's state directory. Signed-off-by: Gavin Inglis <[email protected]>
1 parent 456c101 commit a32b8f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/selinux-policy/rules.cil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251
(allow api_s private_t (files (mutate)))
252252
(allow clock_s measure_t (files (mutate)))
253253
(allow network_s lease_t (files (mutate)))
254-
(allow runtime_s cache_t (files (mutate)))
254+
(allow trusted_s cache_t (files (mutate)))
255255

256256
; Other components should not be permitted to modify these files,
257257
; or to manage mounts for these directories.

0 commit comments

Comments
 (0)