mirror of
https://github.com/containerd/containerd.git
synced 2026-06-24 08:48:48 +00:00
- Create /var/lib/containerd with 0o700 (was: 0o711). - Create config.TempDir with 0o700 (was: 0o711). - Create /run/containerd/io.containerd.grpc.v1.cri with 0o700 (was: 0o755). - Create /run/containerd/io.containerd.sandbox.controller.v1.shim with 0o700 (was: 0o711). - Leave /run/containerd and /run/containerd/io.containerd.runtime.v2.task created with 0o711, as required by userns-remapped containers. /run/containerd/io.containerd.runtime.v2.task/<NS>/<ID> is created with: - 0o700 for non-userns-remapped containers - 0o710 for userns-remapped containers with the remapped root group as the owner group. Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp> (cherry picked from commit 51b0cf11dc5af7ed1919beba259e644138b28d96) Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>