User guide

chmod
chmod change file attributes
Changes the specified attributes of a file. The chmod command is a subset of the
equivalent UNIX command.
Syntax
chmod
-
+
=
{r,w,x,b,z}
file1
[
file2 . . .
]
Arguments
file1
[
file2 . . .
]
Specifies the files or inodes to be modified.
Options
A minus sign indicates to remove the specified attributes.
+
A plus sign indicates to add the specified attributes.
=
An equals sign indicates to set the specified attributes and clear all other
attributes not included in the command.
r
Sets or clears the read attribute.
w
Sets or clears the write attribute.
x
Sets or clears the execute attribute.
b
Sets or clears the binary attribute.
z
Sets or clears the expand attribute.
13–16 Console Commands