Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
User Commands (c) chmod(1)
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).
00000001
Permits execute or search by others (the S_IXOTH bit).
Use on Guardian Objects
The chmod command does not work on files in the /G directory. Once a file has been created in
/G, you cannot change its permissions with the chmod command.
To avoid errors when using the chmod command from the root directory (/), use the -W NOG
flag to prevent an attempt to access files in /G.
Environment Variables
The following environment variables affect the execution of the chmod command:
UTILSGE Specifies that HP extensions to the root directory should be omitted
when the initial directory is root and a recursive operation occurs in an
OSS shell command. Application programs that test this variable
527188-021 Hewlett-Packard Company 2−75