Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
User Commands (c) chmod(1)
t Save text permission.
In some versions of the UNIX system, setting this permission bit causes the text seg-
ment of a program to remain in virtual memory after its first use. Such systems there-
fore do not transfer the program code of frequently accessed programs into the paging
area.
You can specify this permission for OSS files, but it has no effect. The letter t appears
in the execute position of the all others option to indicate that the file has this bit (the
sticky bit) set.
If a directory has this bit set, then deletion in it is restricted. An entry in a sticky direc-
tory can be removed or renamed by a user only if the user has write permission for the
directory and the user is the owner of the file, the owner of the directory, or has
appropriate permissions.
The u, g, and o options indicate that permission is to be taken from the current mode. Omitting
permission is useful only with = to remove all permissions. For example, entering the following
command clears all permission fields for the user and resets them all to those of the group for
file1:
u=g file1
All permission bits not explicitly specified are cleared.
You can specify multiple symbolic modes, separated with commas. Do not separate items in this
list with spaces. Operations are performed in the order they appear from left to right.
Absolute Mode
Absolute mode lets you use octal notation to set each bit in the permission code. The chmod
command sets the permissions to the permission_code you provide. permission_code is con-
structed by combining with logical OR the following values:
01000000
Sets the trust bit for a TNS/E native loadfile regardless of whether an I/O buffer is in a
shared memory segment (the S_TRUSTSHARED bit). On a server running an H-
series RVU, only a user with appropriate privileges (the super ID) can use this setting.
This bit is ignored on a server running a G-series RVU.
00400000
Sets the trust bit for a TNS/E native load file for cases where an I/O buffer is not in a
shared memory segment (the S_TRUST bit). On a server running an H-series RVU,
only a user with appropriate privileges (the super ID) can use this setting. This bit is
ignored on a server running a G-series RVU.
00004000
Sets user ID on execution (the S_ISUID bit).
00002000
Sets group ID on execution (the S_ISGID bit).
00001000
Sets sticky bit:
• Retains memory image after execution (executable file).
527188-007 Hewlett-Packard Company 2−43