Hello,
I have the issue too.
After a reboot of Unraid, the /tmp and /var/tmp folders are set with permissions 755 in every docker containers.
To correct this, I have to chmod 777 the folders and the permissions remain set to 777 even after a container restart.
I also tried to disable/enable the Docker service via Unraid GUI and the same issue occured. So it seems to come from either the service shutdown or start.
I did this test again but the issue didn't occured. I certainly did it wrong the first time, sorry for that 😅
I'm on Unraid 6.9.2 with Docker 20.10.5.
As example, I have a container running the image of linuxserver/mariadb, when this container launches, mariadb will log this error
[ERROR] mariadbd: Can't create/write to file '/var/tmp/ibXXXXXX' (Errcode: 13 "Permission denied")