CS Fundamentals / Stage 1 · Execution

Trace processes, memory, permissions and filesystems

CoreFoundationDraft, not yet reviewed17 min of activities

"Already know" meets prerequisites. "Not relevant" removes the topic from your total but leaves what builds on it waiting.

Self-check

  • A service on your WSL machine fails to write its log file. Find the process, show who it runs as, which files it holds open and why the write is refused, then fix the permission without making the file world-writable.
  • Evidence to include: Record the commands (ps, ls -l, /proc/<pid>/fd, id) with their output, the owner and mode before and after, and why the fix is no wider than needed.

Try it without the material first, then compare. Save your answer in your notes below. Report a problem with this self-check

Learning activities

2 activities
  • Not done
    Linux file permissions explained (opens another site)
    ReadOther sitelink checked 2026-11-21

    Reads permission strings and octal modes, and what read, write and execute mean on a directory as well as a file.

    7 min
  • Not done
    proc(5) — Linux manual page (opens another site)
    ReadOther sitelink checked 2026-11-21

    The reference for /proc: read the description and the index of /proc/[pid] entries that show a process's state and open files.

    10 min

My notes

Saved on this device, synced when signed in
Esc
↑ ↓ to move↵ to open