The MM (modify mode) line command can be entered against any file
type apart from symbolic and external link files. This line command
causes the Modify z/OS® UNIX File Mode Fields panel to be
displayed. This panel allows you to modify mode fields for the selected z/OS UNIX file.
The Pathname field displays the path name of the selected file.
The Type field display the file type for the selected file.
These optional input fields allow you to make modifications to
the mode of the file:
- Permissions
- This
field allows you to change the permissions defined for the file. The
current permissions for the file are initially displayed. The permissions
are displayed and entered as three octal (range 0-7) digits. The first
digit defines the access permission for the file owner. The second
digit defines the access permission for any member of the file's group.
The third digit defines the access permission for anyone else. See Table 1.
- Set UID bit
- When this option is selected,
the file mode SETUID bit is set on. When the option is not selected,
the SETUID bit is set off. If the SETUID bit is on, the effective
user ID of the user process executing a program will be set to that
of the file owner when this file is run.
- Set GID bit
- When this option is selected,
the file mode SETGID bit is set on. When the option is not selected,
the SETGID bit is set off. If the SETGID bit is on, the effective
group ID of the user process executing a program will be set to that
of the file owner when this file is run.
- Sticky bit
- When this option is selected,
the file mode sticky bit is set on. When this option is not selected,
the sticky bit is set off. If the sticky bit is on for a file that
is a program, z/OS UNIX will search for the program in the user's
STEPLIB, the link pack area, or the link list concatenation. If the
sticky bit is on for a directory it means a user can only remove or
rename a file or remove a subdirectory if one of these conditions
is true:
- The user owns the file or subdirectory
- The user owns the directory
- The user has superuser authority