Skip to content

← Week 4 | Overview | Week 6 →

Week 5 - Users, groups and permissions

Phase 2: Linux fundamentals (Weeks 5-8)

  • Done

Goal: Understand who may do what, and why 'permission denied' happens.

Reading: Ch. 9 Permissions (chmod, chown, umask, su, sudo, setuid, setgid, sticky bit). Users, groups and ACLs are only touched on; use the man pages.

Exercises:

  • Practice chmod (symbolic and octal), chown, chgrp, umask, sticky bit, setgid directories.
  • Create users and groups, a shared project directory, and test access from different users.
  • Understand sudo and /etc/sudoers (visudo); add a limited sudo rule for one command.
  • Look at ACLs with getfacl and setfacl.

Deliverable: A shared directory setup that works for two users, documented with the exact commands.

My notes: week-05-notes.md


← Week 4 | Overview | Week 6 →