performance
medium
Apply
permissions-chmod
2 points
Question 12. CSCD240-E1-A
Using only letters, remove write permission from the owner on notes.sh.
Work the drill
Answer on paper or in a terminal before revealing the ideal answer.
Ideal answer
chmod u-w notes.sh
Acceptable alternatives: ["chmod -w notes.sh (affects ugo, still removes u write)", "chmod u=rx notes.sh (equivalent given starting state)"]
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.
chmod -w notes.sh (without u)
Misconception. Removes write from all three (ugo), answering a different question but matching wording loosely.
Remedy. Accept per rubric; note that the question asked specifically for owner. Award partial credit.
chmod 577 notes.sh
Misconception. Used octal when question said letters.
Remedy. Re-read "only letters"; symbolic syntax is u/g/o/a + +/-/= + r/w/x.
chmod u-W notes.sh
Misconception. Capitalization error — chmod is case-sensitive.
Remedy. Demonstrate that -w works but -W errors.
Authority mappings
Hover any chip for the mapping justification; click to open the authority record.
DCWF roles:
IT-451 System Administrator
DCWF tasks:
T0136
O*NET tasks:
SOC 15-1212.00: task 6SOC 15-1212.00: task 7SOC 15-1244.00: task 1SOC 15-1244.00: task 2
NCAE errors:
SMB Login / failure: SMB operation failed: [Errno.SMB Read / failure: SMB operation failed: [Errno .WWW Content / failure: Failed to connect to hostWWW Content / timeout: TimeoutWWW Content / failure: Website cannot be reachedSMB Read / partial: SMB operation failed: Failed .SMB Login / failure: SMB operation failed: [Errno.SMB Read / failure: SMB operation failed: [Errno .SMB Login / failure: SMB connection failed: proto.
Course-artifact links
Lectures
- CSCD240-S26-L06. Permissions part 2: chmod octal + symbolic, directory x bit
Lab questions
- CSCD240-S26-LAB3: chmod u+x, g-w, o=r on a file. Verify each.
CTF challenges
- 02 Permissions: Give Yourself Execute
- 02 Permissions: Tighten the Screws