Postgres volume mount has incorrect permissions

Solution In Progress - Updated -


When attempting to start the Postgres Service, the PV (Persistent Volume) is created and mounted correctly into the pod, however the database fails to start with the following error:

mkdir: cannot create directory '/var/lib/pgsql/data/userdata': Permission denied


OpenShift Container Platform 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In