Is it possible to parse the UMASK env variable and adjust it accordingly?
This is particularly useful when the container is ran with different PUID and PGID to enforce specific permissions on the download directory, to simplify sharing through SMB.
Cheers!