How to set umask in openshift pod
Issue
- I'm trying to deploy an image from docker.io on an OpenShift cluster and get the following error message:
Your data directory is readable by other users
Please change the permissions to 0770 so that the directory cannot be listed by other users.
- We need to fix the filesystem rights, ideally using mount options on the volume mounted.
Environment
- Red Hat OpenShift Container Platform
- 3.X
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.