Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1r-- | Ar-- is read-only, so the student can only view the file. To edit their answers they need write permission (rw-). | |
| 2rwx | BFull permissions: the account can read the file, write to it (change or delete it) and execute it as a program. | |
| 3Execute permission lets an account run a file as a program, but does not let it change the file. | CRead-only permission: the account can view the file but cannot change, delete or run it. | |
| 4Write permission lets an account change or delete data, so it should only be given when needed. | DGiving everyone read, write and execute lets anyone change, delete or run the file. Most users should only get r-- (read-only), or no access at all. | |
| 5Give a student r-- on a shared file so they can edit their answers | E-w- | |
| 6Give every user rwx on the school's payroll file | F--x |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
permission — A rule that lets an account read, write or execute a file or resource. Read only views it, write can change or delete it, and execute runs it as a program.chmod +x game.shchmod u+w notes.txtchmod a=r report.txtchmod +x backup.sh-rwxr-xr-x 1 sam backup.sh