Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
chmod(1) OSS Shell and Utilities Reference Manual
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).
• Restricts file removal (directory).
00000400
Permits read by owner (the S_IRUSR bit).
00000200
Permits write by owner (the S_IWUSR bit).
00000100
Permits execute or search by owner (the S_IXUSR bit).
00000040
Permits read by group (the S_IRGRP bit).
00000020
Permits write by group (the S_IWGRP bit).
00000010
Permits execute or search by group (the S_IXGRP bit).
00000004
Permits read by others (the S_IROTH bit).
00000002
Permits write by others (the S_IWOTH bit).
2−42 Hewlett-Packard Company 527188-003