UMASK Command

HSI Version: 

All

Purpose: 

This command is used to set the file creation mask, which is used when new files are created.

Aliases: 

 

Command Format: 

umask [perm_mask]

Options: 

perm_mask : An octal number between 0 and 777 used to specify permissions which should not be set on files and directories created after this command is complete.

Keywords: 

 

Usage Notes: 

Setting of this mask to allow "group" and "other" permissions for all nodes created by HPSS is discouraged. Individual nodes can have their permissions altered, if required for file sharing, by using the CHMOD command.

Currently, permission-mask must be an octal value (000-777). Unix-style "chmod-style" syntax for owner, goup, and other access (e.g., o+x) will be added in the future.

Example: 

1. allows rwxr-xr-x access to be set for files and directories that are created

   umask 022

Related Command(s): 

CHMOD, CHOWN