Previous Topic: TYPE

Next Topic: USERID


UMASK

The file permissions that are removed from the XCOM default file or directory permissions for USS files or directories. UMASK is used only when a file or directory is being created.

Range: 000 to 777

Default: 022

On z/OS systems, the XCOM default file permission is 666, which means:

File permissions on USS files are implemented the same way as file permissions are on UNIX systems. The three basic permissions for each of the categories are read, write, and execute, commonly seen as rwx rwx rwx.

If each of these characters (r, w, x) is considered as a bit, then the possible value ranges are as follows:

So the default permissions of 666 (110 110 110) mean allow read and write to everyone, but not execute.

The UMASK value identifies the permissions that you want to remove from the default (666). If you remove 022 (000 010 010) from 666, what remains is 644. 644 means:

Notes: