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.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
