[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Set UID/GID to the azure mount command



Azure file plugin doesn't  support Unix Permissions, so a pod can't manage file ownership at a mountpoint. This is a issue for PostgreSQL images, which complains if don't own the files. One alternative is to pass UID,GUID parameters at the mount, ex:

mount -t cifs //ENDPOINT /MOUNTPOINT \
-o vers=3.0,user=USER,password=PASS,\
UID=<pod_user>,\
gid=<pod_supplemental_group>,\
dir_mode=0777,\
file_mode=0777

Is possible to have this or a similar solution ?


Diego

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]