NCAE Mapping Hub
Overview Scoreboard Data Roles Exercised Checklists Lessons Skill Drills Practice Terminal Progress
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 tasks: T0136
KU outcomes: CD-OSC-O4CO-M9-O2
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