Use it to add or remove a single permission without changing the rest.
Symbolic Permissions
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).
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.
class and operator chosen → only those bits change → other bits kept
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
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 +xmaking all files executable (useX).
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.
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.
ls -l <path>— owner, group and modestat -c '%A %a %U:%G' <path>— symbolic and numeric mode with ownernamei -l <path>— permissions of every directory on the pathid <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,oandaselect 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
| Command | Effect |
|---|---|
chmod u+x deploy.sh | Owner may execute |
chmod go-w file | Remove write for group and others |
chmod o= file | Others get nothing |
chmod u=rw,g=r,o= file | Exactly 640 |
chmod g+s dir | Set setgid on a directory |
chmod +t /srv/drop | Sticky bit |
chmod -R u=rwX,g=rX,o= /srv/app | Directories 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.
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.
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
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
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.
Quick lookup tables
Symbolic Permissions operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for Symbolic Permissions.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | 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. | Establish exactly what this Topic owns before crossing into another subsystem. |
| Fast verification | Pin 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 chain | current inode mode → symbolic class/operation → resulting rwx/special bits → process identity/class → ACL/non-DAC constraints → access decision → result | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | Symbolic 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 evidence | Correlated 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 → result | Use this observation only for the specific claim it actually supports. |
| Evidence limit | It 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 check | Continue 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 boundary | Symbolic Permissions |
|---|---|
| Topic path | Permissions & Ownership → Symbolic Permissions |
| Runtime state | 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. |
| 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 chain | current 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 boundary | Symbolic 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 rule | Prove which configuration source owns the state, then prove that the running consumer loaded or generated the intended state. |