unifi icon indicating copy to clipboard operation
unifi copied to clipboard

f_chown() should not run if group has access

Open Elegant996 opened this issue 1 year ago • 0 comments

When deploying this image as a pod in kubernetes, some CSI drivers create the mount with permissions root:PGID. All files within the mount are correctly set to PUID:PGID but since the mounting point UID is not of the PUID, the entrypoint script believes all files within do not have proper permissions. Could we add a check to see if the PGID is correct and not force the chown based solely on the PUID?

Thanks!

Elegant996 avatar Sep 09 '22 18:09 Elegant996