Failed to access NFS PV for the container with "Permission denied" error.
Issue
- Getting
Permission denied
error while trying to access the NFS PV attached to a container which has init or systemd enabled.
~ $ ls /target
ls: can't open '/target': Permission denied
Environment
- Red Hat OpenShift Container Platform [RHOCP]
- 4.X
- Containers which have
init
orsystemd
enabled.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.