You are advised to set umask of the host (including the host machine) and container to 027 or a larger value to improve security.
For example, to set umask to 077, perform the following operations:
vim /etc/profile
source /etc/profile