Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure /run/containerd is created with correct perms
There are a couple directories that get created under the default state directory ("/run/containerd") even when containerd is configured to use a different location for its state directory. Create the default state directory even if containerd is configured to use a different state directory location. This ensure pkg/shim and pkg/fifo won't create the default state directory with incorrect permissions when calling os.MkdirAll for their respective subdirectories. Signed-off-by: Erikson Tung <[email protected]>
- Loading branch information