performance
medium
Apply
ownership
2 points
Question 12. CSCD240-E1-B
Change owner AND group of /opt/app/runner to svc_app:svc_app in ONE command.
Work the drill
Answer on paper or in a terminal before revealing the ideal answer.
Ideal answer
chown svc_app:svc_app /opt/app/runner
Acceptable alternatives: ["chown svc_app.svc_app /opt/app/runner"]
Misconception bank
Each row below is a plausible wrong answer, the thinking that produces it, and the remedy that corrects the misconception. These are the foundation of the multiple-choice framing and the targeted feedback a student receives after answering.
chown svc_app /opt/app/runner; chgrp svc_app /opt/app/runner
Misconception. Two commands when one suffices.
Remedy. Teach chown USER:GROUP syntax.
chown --owner svc_app --group svc_app /opt/app/runner
Misconception. Those flags do not exist in chown.
Remedy. Use the colon form.
Authority mappings
Hover any chip for the mapping justification; click to open the authority record.
DCWF roles:
IT-451 System Administrator
DCWF tasks:
T0144
Course-artifact links
Lectures
- CSCD240-S26-L06. Permissions part 2: chmod octal + symbolic, directory x bit