CSCD240-S26-L06
Lecture 6. Permissions part 2: chmod octal + symbolic, directory x bit
Delivered 2026-04-07
Key topics: ["chmod","octal","symbolic","echo","less"]
Authority mappings
Exam questions that cite this lecture
- CSCD240-E1-A-Q11 permissions-chmod Change permissions of notes.sh: owner rwx, group rx, other none. Use octal.
- CSCD240-E1-A-Q12 permissions-chmod Using only letters, remove write permission from the owner on notes.sh.
- CSCD240-E1-A-Q42 chmod-recursive Recursively change permissions in current dir so group and other have no write permission.
- CSCD240-E1-B-Q09 octal-special Convert rwsr-xr-x to 4-digit octal including special bits.
- CSCD240-E1-B-Q11 harden Remove setuid bit from /opt/app/runner without changing other permissions.
- CSCD240-E1-B-Q12 ownership Change owner AND group of /opt/app/runner to svc_app:svc_app in ONE command.
- CSCD240-E1-B-Q13 harden Recursively set permissions on ~/secrets/ so only owner has any access.
- CSCD240-E1-C-Q18 octal-special chmod 4755 /opt/app/runner — which bit was set?
- CSCD240-E1-C-Q22 chmod-octal Set /opt/svc/agent to owner rwx, group rx, other none using octal.
- CSCD240-E1-C-Q23 harden Remove the setuid bit from /opt/svc/agent using symbolic form, leaving other perms.
- CSCD240-E1-C-Q24 harden Recursively change perms under ~/secrets so group and other have no access.
- CSCD240-E1-C-Q42 chmod-recursive-trap chmod -R 644 /etc/ssh — what broke and why?