Fix permission error when deploying to Openshift