File Permission

Domain: Computer Systems

🎯 Motivation

Who can read, write, or execute a file. Three levels: owner, group, everyone.

πŸ“‹ Concrete Example

Permissions: rwxr-xrβ€”. Owner: read/write/execute. Group: read/execute. Others: read only. β€˜chmod +x script.sh’ adds execute permission for everyone.

πŸ”— Analogy

File permissions are like access levels in a school - the principal (owner) can enter any room, teachers (group) can enter classrooms, students (others) can only enter common areas.