Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the /kaniko directory permissions in container
Create /kaniko directory with world permission to allow the creation of sub directories by any user when the executor is run as non root. This can lower the security but shouldn't have any impact in a container. The tar unpack is the only way I found to have a directory with specific permission as the image is created from "scratch" which doesn't have any tool to change the permission otherwise. Fixes GoogleContainerTools#1363
- Loading branch information