{
  "id": 1536953,
  "title": "Understanding chmod Without Memorizing Numbers",
  "url": "https://urgent.news/2026/08/17/understanding-chmod-without-memorizing-numbers",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-17T18:28:18.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/asepsayyad007/understanding-chmod-without-memorizing-numbers-553h"
  },
  "original_language": "en",
  "account": "Linux file permissions are a crucial aspect of managing a Linux system. Instead of blindly using a single number with chmod, understanding symbolic mode can simplify the process significantly. Let's explore how symbolic permission mode works and why it's preferable over numerical chmod methods.\n\nWhen you run `ls -l`, you'll encounter a 10-character string at the beginning of each file/directory listing. This string represents the file's mode, which dictates who can read, write, or execute it. The mode is broken down into four parts: file type, owner permissions, group permissions, and permissions for others.\n\nThe first character indicates the file type (- for regular files, d for directories, l for symbolic links, etc.). The next nine characters are divided into three groups of three, representing the owner, group, and others. Each group contains three characters: 'r' for read, 'w' for write, and 'x' for execute. A dash (-) signifies no permission for that category.\n\nRather than memorizing three-digit codes, you can use symbolic mode to manage permissions more intuitively. The chmod command follows the format `chmod [WHO][ACTION][WHAT] filename`. You decide who to modify permissions for (user, group, others, or all), what action to perform (add, remove, or set), and what permission (read, write, or execute).\n\nFor example, to make a script executable for the owner without altering other permissions, you would use `chmod u+x deploy.sh`. This adds execute permission for the user while keeping everything else unchanged. Understanding symbolic mode allows you to manage permissions effectively without relying on rote memorization of numbers.",
  "summary": "How Linux file permissions actually work under the hood, why symbolic mode is your best friend, and how to stop blindly typing chmod 777. Every Linux engineer has been there. You write a brand-new bash script, try to run it from your terminal, and hit an immediate roadblock: $ ./backup.sh bash: ./backup.sh: Permission denied You open your search engine or ask a chat assistant for help. Within…",
  "key_points": [
    "Symbolic mode simplifies chmod by using letters instead of numbers.",
    "File mode string in ls -l shows read/write/execute permissions.",
    "Chmod u+x adds execute permission for user without changing others."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}