Description Mount failed. Permission denied
jixiangcheng opened this issue · 2 comments
I created the Storageclass using rook NFS
I created RabbitMQ using rook NFS Storageclass,
Creation failed, prompting no permission to write to the mount point directory
After I created the PVC, THE permission to view the directory created in NFS Server is 700,Owner group :root, owner :root
Rabbitmq is started as a normal user and has no write permission to the directory created by rook NFS
Hitting a similar issue here. Rook NFS should not assume that the consumer pod is running as root.
Count me in on this issue. I am trying to run a helm chart developed for Amazon EKS locally on a k3s cluster.
rook-nfs provisions the persistentvolume just fine, but as the containers are not running as root, they can't access any data...
My workaround was to add an initContainer that runs as root and changes permission and ownerships for the volume.