UTERMINAL
TERMINAL
NEXT
$V1$
PAUSE
ENCORE5
ENCORE
ENCORE3
GO:
The octal value for file protection may be computed as shown above:
owner | group | other
-----------------------------------
| r w x | r w x | r w x |
| 4 | 4 | 4 |
| +2 | +2 | +2 |
| +1 | +1 | +1 |
-----------------------------------
| digit | digit | digit |
For example, if you want to set the following protections:
the owner has read and write privileges
the group has read privileges only, and
other has no privileges (-),
the octal value for the mode would be: 640!
Which can also be represented as: rw-r-----!
The command chmod - for changing file protection
has the syntax:
chmod protection mode filenames
where protection mode is an octal value. The command
to give to all users all privileges to the file tmp,
would be:
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type chmod 777 tmp
Please type chmod 777 tmp
You will be helped this time.
$PROMPT$
FORGET1
Observe the result on the terminal!
chmod 777 tmp
$PROMPT$