What Modes Does Linux Use to Configure Permissions?
Contents

The Linux permissions model has two special access modes called suid (set user id) and sgid (set group id).

What are the permission modes for a file in Linux?

File Permission Modes

Octal Value File Permissions Set Permissions Description
1 –x Execute permission only
2 -w- Write permission only
3 -wx Write and execute permissions
4 r– Read permission only

What are the different modes of setting file permissions?

File Permission Modes

  • Absolute Mode – Use numbers to represent file permissions. When you change permissions by using the absolute mode, you represent permissions for each triplet by an octal mode number. …
  • Symbolic Mode – Use combinations of letters and symbols to add permissions or remove permissions.
Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest