Set the default file creation umask

You modify the default file creation umask so that, by default, users in your group have read-only access to files you create. Users outside your group have no access to the files you create.

Perform these steps using the non-privileged user account on the application server.

  1. Navigate to your home directory, for example:
    $ cd ~
  2. Using a text editor, open the .login file. If the file does not exist, you will create it.
  3. Add the following text to the file:
    umask 027
  4. Save and close the file.