Setting umask

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:

  1. Log in to the server as the root user and edit the /etc/profile file.
    vim /etc/profile
  2. Add umask 027 to the end of the /etc/profile file, save the file, and exit.
  3. Run the following command to make the configuration take effect:
    source /etc/profile