In the container bookworm (for example), it is possible to create a file in the /tmp directory but the change of owner or group is not permitted.
I would like to understand why and above all know how to modify this behavior.
I try to make a container with the nix package manager but it don't work because it can't change ownership on a temporary files (a file in /mnt/wkg/containers/nix/container/tmp) although it runs as root.
Thanks.