MPE/iX Shell and Utilities Reference Manual, Vol 1

chmod(1) MPE/iX Shell and Utilities chmod(1)
x Execute permission. If this is off, you cannot execute the file.
X Execute/search permission for a directory; or execute permission for a file only when
the current mode has at least one of the execute bits set.
w Write permission. If this is off, you cannot write to the file.
s On POSIX
-compliant and UNIX systems, this stands for setuid on execution or setgid on
execution permission.
t On UNIX systems, this stands for the sticky bit.
You can specify multiple symbolic modes if you separate them with commas.
Absolute modes are octal numbers specifying the complete list of attributes for the files; you
specify attributes by OR’ing together these bits.
4000 Setuid bit
2000 Setgid bit
1000 Sticky bit
0400 Individual read
0200 Individual write
0100 Individual execute (or list directory)
0040 Group read
0020 Group write
0010 Group execute
0004 Other read
0002 Other write
0001 Other execute
EXAMPLES
chmod -w nowrite
makes file nowrite read-only.
chmod a=rwx file
turns on read, write, and execute permissions, and turns off the setuid and sticky bit attributes.
This is equivalent to
chmod 0777 file
Commands and Utilities 1-89