nfs icon indicating copy to clipboard operation
nfs copied to clipboard

Description Mount failed. Permission denied

Open jixiangcheng opened this issue 4 years ago • 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

图片

jixiangcheng avatar Sep 10 '21 07:09 jixiangcheng

Hitting a similar issue here. Rook NFS should not assume that the consumer pod is running as root.

hehesky avatar Dec 06 '21 19:12 hehesky

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.

tlandschoff-scale avatar Apr 25 '22 09:04 tlandschoff-scale