You are advised to set umask of the host and container to 027 or a larger value to improve file permission.
For example, to set umask to 027, perform the following operations:
vim /etc/profile
source /etc/profile