UMASK variable doesn't seem to work

Hi, thanks for the effort developing these containers. Kindly requesting some support on an issue I’m having. I’m deploying the following:

…using docker on unraid. I’m trying to use the UMASK= variable, however it doesn’t seem to be having any effect. Here’s the run command generated by unraid:

docker run -d --name=‘syncthing’ --net=‘bridge’ -e TZ=“America/New_York” -e HOST_OS=“Unraid” -e ‘PUID’=‘99’ -e ‘PGID’=‘100’ -e ‘UMASK’=‘000’ -p ‘8384:8384/tcp’ -p ‘22000:22000/tcp’ -p ‘22000:22000/udp’ -p ‘21027:21027/udp’ -v ‘/mnt/cache/docker/appdata/syncthing’:’/config’:‘rw’ ‘

So it looks like the variable is being passed, but via the console, the ouput of the umask command is 0022.

Any suggestions to configure the required UMASK? Much appreciated.