Pcornel
Browse topics
Options
Recent
Favorites
Linux · Technical reference

Symbolic Permissions

Direct answer

Symbolic permissions change bits by class and operator: chmod u+x, g-w, o=r, a+r (u user, g group, o others, a all; + add, - remove, = set exactly).

When to use this

Use it to add or remove a single permission without changing the rest.

First 30 seconds

1. ls -l <path> — current mode.

2. Add only what is needed: chmod g+w <file>.

3. Trees: chmod -R g+rX <dir>.

4. Check: ls -l again.

5. Test as the affected user.

Operational verification

class and operator chosen → only those bits change → other bits kept

Evidence · next step

For Permissions & Ownership → Symbolic Permissions, continue with the first unproven Topic check: Determine object type and current symbolic mode before interpreting each position. If that boundary is healthy, advance to the adjacent check: Translate the relevant class and requested operation to concrete mode-bit changes. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
linux
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformlinux
Scope / prerequisiteUse it to add or remove a single permission without changing the rest.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational evidence path Verify boundary

current inode mode → symbolic class/operation → resulting rwx/special bits → process identity/class → ACL/non-DAC constraints → access decision → result

Healthy evidence: symbolic mode accurately reflects intended classes and special bits, and effective access is verified with the real process.

Step 2 Verification and output interpretation Verify boundary

Existing fast checks for this Topic. - Determine object type and current symbolic mode before interpreting each position.

  • Translate the relevant class and requested operation to concrete mode-bit changes.
  • Inspect ACLs/mask and parent-directory permissions when troubleshooting effective access.
  • Verify the original operation after the smallest intended mode change.

Verification chain. current inode mode → symbolic class/operation → resulting rwx/special bits → process identity/class → ACL/non-DAC constraints → access decision → result

Step 3 Commands Verify boundary
chmod u+x script.sh
chmod g-w,o-rwx file
chmod -R g+rX dir
Step 4 Failure modes and next checks Narrow the fault

Suspicious evidence: uppercase/lowercase special-bit indicators are misread, chmod relative operations produce unintended bits, or symbolic display is treated as whole-policy evidence.

Symbolic notation shows or changes mode-bit intent, not effective end-to-end authorization.

Step 5 Common mistakes Narrow the fault
  • chmod -R +x making all files executable (use X).
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points

chmod +x script adds execute for all classes allowed by umask. Capital X (chmod -R a+X) adds execute only to directories and files already executable — handy for trees.

Key checks
  • ls -l <path> — owner, group and mode
  • stat -c '%A %a %U:%G' <path> — symbolic and numeric mode with owner
  • namei -l <path> — permissions of every directory on the path
  • id <user> — user's groups
ReferenceWhat it is1 section · depth on demand

Core model

Interpret symbolic mode in context: displayed rwx positions show current bits, while chmod-style symbolic operations can add, remove or assign bits relative to current state. Distinguish lowercase execute/special combinations from uppercase special-bit indicators when execute is absent, and still evaluate ACLs plus directory traversal for effective access.

ReferenceImportant terms & boundaries5 sections · depth on demand

What this shows and what it does not

Symbolic notation shows or changes mode-bit intent, not effective end-to-end authorization.

In depth

Symbolic permissions with chmod

Symbolic mode changes selected bits without needing to know the rest. That makes it safer than octal for small adjustments. The chmod(1) manual page defines the syntax [ugoa...][+-=][perms...]:

  • u, g, o and a select owner, group, others or all.
  • + adds bits, - removes them, and = sets them exactly.
  • Several clauses can be combined, separated by commas.

The permission letters are r, w and x, plus s (set-user-ID or set-group-ID) and t (sticky). X sets execute only on directories, and on files that already have execute permission for someone.

Examples

CommandEffect
chmod u+x deploy.shOwner may execute
chmod go-w fileRemove write for group and others
chmod o= fileOthers get nothing
chmod u=rw,g=r,o= fileExactly 640
chmod g+s dirSet setgid on a directory
chmod +t /srv/dropSticky bit
chmod -R u=rwX,g=rX,o= /srv/appDirectories 750, files 640 (unless already executable)

Why X matters in recursive changes

chmod -R 750 makes every file executable, which is wrong for data and configuration files. chmod -R u=rwX,g=rX,o= gives directories the x they need and leaves ordinary files without it. Recursive chmod ignores symbolic links found during traversal. A link named on the command line changes the file it points to.

host$ ls -l deploy.sh
-rw-r--r-- 1 alice alice 812 Nov 28 10:20 deploy.sh
host$ chmod u+x,go-r deploy.sh; ls -l deploy.sh
-rwx------ 1 alice alice 812 Nov 28 10:20 deploy.sh
host$ chmod -R u=rwX,g=rX,o= /srv/app
host$ find /srv/app -maxdepth 2 -printf '%M %p\n' | head -4
drwxr-x--- /srv/app
drwxr-x--- /srv/app/bin
-rwxr-x--- /srv/app/bin/start
-rw-r----- /srv/app/config.yml
host$ chmod --reference=/srv/app/config.yml /srv/app/config.local.yml

Reading the example

The recursive change made directories 750, kept the already-executable start script executable (750), and made the configuration file 640. A plain chmod -R 750 would have made config.yml executable too. --reference copies the mode of one file to another without having to work out the digits.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

How it works at runtime

Symbolic Permissions is part of Permissions & Ownership → Symbolic Permissions. Symbolic permissions describe mode changes and displays using user/group/other/all classes with read/write/execute and special-mode symbols, making intent readable while still representing only part of the final Linux authorization decision.

Topic-specific state model. Symbolic permissions describe mode changes and displays using user/group/other/all classes with read/write/execute and special-mode symbols, making intent readable while still representing only part of the final Linux authorization decision.

Interpretation rule. - Symbolic display ≠ requested chmod symbolic operation.

  • rwx on a file ≠ same semantics as rwx on a directory.
  • s/S and t/T encode special-bit plus execute-state combinations.
  • Symbolic mode ≠ complete effective permissions when ACLs apply.

Quick reference

Symbolic chmod changes specific bits without replacing others:

chmod u+x deploy.sh
chmod g-w,o-rwx secrets/
chmod -R u=rwX,g=rX,o= /srv/app      # X: execute only on directories (and files already executable)
chmod a+r public.txt
chmod +t /srv/shared
chmod g+s /srv/projects

X (capital) is the key trick for recursive changes: it sets execute on directories so they stay traversable without making every file executable.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Limits and how it fails

Primary failure point. Symbolic notation shows or changes mode-bit intent, not effective end-to-end authorization.

ReferenceConfiguration & state1 section · depth on demand

Configuration, persistence and lifecycle

Distribution/platform context. Symbolic Permissions owns rwx/symbolic notation. Numeric Permissions, special bits and ACLs own adjacent representations/controls.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor doclinux current

Authoritative/upstream documentation reviewed for bounded claims in Permissions & Ownership → Symbolic Permissions. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.kernel.org/doc/man-pages/ · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
symbolic permissions linuxrwx permissionschmod symboliclinux permission string
Embedded reference data

Quick lookup tables

Symbolic Permissions operational reference

Topic-specific lookup boundaries, proof limits and next-step Evidence for Symbolic Permissions.

Lookup boundaryTopic-specific referenceOperational use
Scope / effective stateSymbolic permissions describe mode changes and displays using user/group/other/all classes with read/write/execute and special-mode symbols, making intent readable while still representing only part of the final Linux authorization decision.Establish exactly what this Topic owns before crossing into another subsystem.
Fast verificationPin the exact process/session → resolve user/group names to numeric UID/GID through the effective identity stack → capture effective UID/GID + supplementary groups → resolve every required path component and target inode → inspect numeric owner/group + mode + ACL/mask + special bits → capture sudo/privilege transition if present → account for non-DAC controls → repeat the original workload operation.Use the shortest evidence path first; a fast check is a boundary test, not blanket proof.
Verification chaincurrent inode mode → symbolic class/operation → resulting rwx/special bits → process identity/class → ACL/non-DAC constraints → access decision → resultTrace requested/configured state through effective state to the observed workload result.
Failure boundarySymbolic notation proves or changes mode-bit intent, not effective end-to-end authorization.Stop broad troubleshooting at the first boundary that is not supported by evidence.
Positive evidenceCorrelated Linux identity and authorization evidence can establish this proof path: current inode mode → symbolic class/operation → resulting rwx/special bits → process identity/class → ACL/non-DAC constraints → access decision → resultUse this observation only for the specific claim it actually supports.
Evidence limitIt does not independently prove behavior outside the captured identity source, process credential, filesystem object, DAC/ACL, privilege or workload scope. Symbolic notation proves or changes mode-bit intent, not effective end-to-end authorization.Do not promote a local success signal into end-to-end or adjacent-dependency proof.
Next troubleshooting checkContinue from the first unproven boundary: keep the same process/session, resolve numeric identity and groups, inspect each path component plus target ownership/mode/ACL/special bits, capture any privilege transition/non-DAC denial, then repeat the original operation before broadening permissions.Continue to the next unresolved boundary while preserving the original test condition.

Symbolic Permissions · operational reference

Compact Linux state, persistence, verification and boundary reference for fast lookup.

Reference boundarySymbolic Permissions
Topic pathPermissions & Ownership → Symbolic Permissions
Runtime stateSymbolic permissions describe mode changes and displays using user/group/other/all classes with read/write/execute and special-mode symbols, making intent readable while still representing only part of the final Linux authorization decision.
Fast checks- Determine object type and current symbolic mode before interpreting each position. - Translate the relevant class and requested operation to concrete mode-bit changes. - Inspect ACLs/mask and parent-directory permissions when troubleshooting effective access. - Verify the original operation after the smallest intended mode change.
Verification chaincurrent inode mode → symbolic class/operation → resulting rwx/special bits → process identity/class → ACL/non-DAC constraints → access decision → result Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary. Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return path or regression → explicit Evidence boundary.
Failure boundarySymbolic notation proves or changes mode-bit intent, not effective end-to-end authorization. Boundary chain: process/socket namespace → source/rule/FIB → neighbor → netfilter/eBPF/qdisc → virtual/physical device → peer → return → application.
Persistence ruleProve which configuration source owns the state, then prove that the running consumer loaded or generated the intended state.
Confirmation

Confirm action

Continue?