Closed Ognian closed 5 months ago
Is your container running as a non-root user? If so, you will need to add the allow-other
mount option.
This issue for running as a non-root user has similar behavior and some more details: https://github.com/awslabs/mountpoint-s3-csi-driver/issues/118
--allow-other
is indeed the solution.
Thanks a lot
Ognian
/kind bug What happened? When successfully mounted, the s3 volume is not accessible from the container and shows permission denied:
When accessing the mounted directory on the host (/var/lib/kubelet/pods/3e9a54c9-04b4-421b-a4e0-4d981e8c8139/volumes/kubernetes.io~csi/s3-pv/mount) everything is fine (we can read and write).... Any ideas?
What you expected to happen?
How to reproduce it (as minimally and precisely as possible)?
Anything else we need to know?:
Environment