Want to save your progress?
Create a free account to track your lessons and quizzes across devices.
Register Login
« Back to ClassCompleted: 50%

File Systems & Permissions

Page 2 of 2


Permissions: rwx

Every file has three sets of permissions: Owner, Group, and Others. Each set has three types of access:

  • r (Read): Can view contents.
  • w (Write): Can modify or delete.
  • x (Execute): Can run the file as a program.

Numeric Mode (chmod): Permissions are often set using numbers.

  • Read = 4, Write = 2, Execute = 1.
  • Example: chmod 755 file means:
    • Owner (7 = 4+2+1): Read, Write, Execute.
    • Group (5 = 4+0+1): Read, Execute.
    • Others (5 = 4+0+1): Read, Execute.