SynologyOpenSource/synology-csi

SMB Permission Errors

Opened this issue · 1 comments

0xEmma commented

Containers using non-0 UID's create permission errors, there seems to be no settings to remedy this. ISCSI has the 10 PVC limit which is not viable.

This usually can be fixed by setting

securityContext:
        runAsUser: 0

But optimally any user in that Pod should be able to write, or have it be configurable

I can confirm that with bitnami/influxdb Helm chart v6.0.3.

Synology DS923+
Rancher Kubernetes on Alpine / K3S
Synology-CSI driver v1.1.3

Regardless of Bitnami's initcontainer usage the volume created with synostorage-smb is not writable for non-root users.