Use it when a user cannot log in or write to their home, or when /home fills up.
/home
/home contains users' home directories (/home/<user>) with their files and per-user settings (dotfiles).
1. ls -ld /home and findmnt /home — present and mounted where expected?
2. df -h /home — space left? df -i /home — inodes left?
3. Find large or unexpected content: du -xh --max-depth=1 /home | sort -h | tail.
4. Permissions and owner as the FHS and services expect?
5. Fix space, permissions or mount, then retest the service.
/home mounted (or virtual) → correct owner and permissions → enough space → services read and write as intended
For Filesystem → /home, continue with the first unproven Topic check: Read the account’s configured home path and verify it from the affected user/session context. If that boundary is healthy, advance to the adjacent check: Confirm mount/backing source and watch for an exposed underlying mount-point directory. 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
account home attribute → session identity → mount/autofs/network backing → directory/inode ownership + quota/capacity → user config/data access → application/session result
Healthy evidence: the account points to the expected path, intended backing mount is active, ownership/quota are correct and the affected user can perform the original operation.
Step 2 Verification and output interpretation Verify boundary
Existing fast checks for this Topic. - Read the account’s configured home path and verify it from the affected user/session context.
- Confirm mount/backing source and watch for an exposed underlying mount-point directory.
- Check ownership, mode/ACL, quota, capacity and identity mapping separately.
- Verify login/application behavior using the intended user and actual home-backed path.
Verification chain. account home attribute → session identity → mount/autofs/network backing → directory/inode ownership + quota/capacity → user config/data access → application/session result
Step 3 Commands Verify boundary
ls -ld /home/*
du -sh /home/* | sort -h
Step 4 Failure modes and next checks Narrow the fault
Suspicious evidence: an unmounted /home writes into the root filesystem, root-only access is mistaken for user usability, or hard-coded /home/<user> assumptions disagree with account data.
Step 5 Common mistakes Narrow the fault
- Home directories with world-readable permissions.
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.
Home must be owned by the user (and not group/world-writable, or SSH rejects keys). du -sh /home/* finds large users. /home is often a separate filesystem.
ls -ld <path>— owner, permissions and typestat <path>— inode, links, size and timestampsdf -h <path>— filesystem and free spacefindmnt <path>— which mount the path is on
ReferenceWhat it is1 section · depth on demand
Core model
Resolve the account’s configured home path, then verify the actual mount/backing source, ownership/permissions/quota and session-visible content. Distinguish a valid directory from the intended home mount: if a mount fails, an underlying local directory can still exist and accept writes to the wrong filesystem.
ReferenceImportant terms & boundaries5 sections · depth on demand
What this shows and what it does not
A /home path shows namespace presence only, but it does not show the intended mount, identity mapping, quota headroom or user-session usability.
In depth
/home: user home directories
The hier(7) manual page describes /home as the usual place for users' home directories, normally /home/<user>. A home directory holds the user's files and their per-user configuration. Most of that configuration is in dotfiles and in the XDG directories ~/.config, ~/.local/share and ~/.cache.
What lives in a home directory
| Path | Content |
|---|---|
~/.bashrc, ~/.profile | Shell configuration |
~/.ssh/ | SSH keys, authorized_keys, known_hosts, config |
~/.config/ | Application configuration (XDG) |
~/.local/bin | Personal programs (often added to PATH) |
~/.local/share | Application data |
~/.cache | Cache files, safe to delete |
Permissions
| Setting | Effect |
|---|---|
| Mode 750 or 700 on home directories | Other users can't read your files |
HOME_MODE / UMASK in /etc/login.defs | Mode of newly created home directories |
~/.ssh 700, authorized_keys 600 | Required by sshd's StrictModes |
Some distributions create home directories as 755 by default, so every user can read every other home directory. Check this on multi-user systems, and set HOME_MODE 0750 for new accounts.
Operational considerations
| Topic | Practice |
|---|---|
| Separate file system | Easier reinstall; quotas; full home can't fill root |
| Quotas | xfs_quota or setquota per user |
| Network homes | NFS or autofs: /home mounted from a file server |
| Directory users | Home created at first login (pam_mkhomedir, SSSD override_homedir) |
host$ ls -ld /home/*
drwxr-x--- 12 alice alice 4096 Nov 28 10:02 /home/alice
drwxr-xr-x 8 bob bob 4096 Nov 20 14:11 /home/bob
host$ grep -E "^(HOME_MODE|UMASK)" /etc/login.defs
UMASK 022
HOME_MODE 0750
host$ sudo chmod 750 /home/bob
host$ sudo du -sh /home/* 2>/dev/null | sort -h | tail -3
host$ du -sh ~/.cache
2.1G /home/alice/.cache
host$ findmnt /home
Reading the example
bob's home directory is 755, so any user can list and read his files. It was probably created before HOME_MODE 0750 was set, or by a different tool. chmod 750 fixes the existing directory. ~/.cache is a typical place to reclaim space without losing data.
Documented example, not captured output.
How it works at runtime
/home is part of Filesystem → /home. /home conventionally contains regular users’ home directories and persistent per-user data/configuration; it may be local, separately mounted, encrypted, automounted or provided by network storage and therefore should not be assumed to share the root filesystem.
Topic-specific state model. /home conventionally contains regular users’ home directories and persistent per-user data/configuration; it may be local, separately mounted, encrypted, automounted or provided by network storage and therefore should not be assumed to share the root filesystem.
Interpretation rule. - /home directory exists ≠ intended /home filesystem or network mount is active.
- User account home path ≠ necessarily /home/<name>.
- Writable home ≠ quota/capacity remains sufficient for workload behavior.
- Files visible as root ≠ user session has equivalent permissions, identity mapping or network access.
Quick reference
/home holds users' home directories (/home/alice), created from /etc/skel by useradd -m. Default permissions vary: 700 on RHEL, 750 on newer Ubuntu (HOME_MODE in /etc/login.defs).
ls -ld /home/*
grep -E 'HOME_MODE|UMASK' /etc/login.defs
du -sh /home/* | sort -h
On servers, /home is often small; application data belongs in /srv or /var/lib/<app>. Network homes (NFS, autofs) are common in labs and universities.
Limits and how it fails
Primary failure point. A /home path shows namespace presence only, but it does not show the intended mount, identity mapping, quota headroom or user-session usability.
ReferenceConfiguration & state1 section · depth on demand
Configuration, persistence and lifecycle
Distribution/platform context. /home owns home-directory placement semantics. Users & Groups owns account attributes, Permissions owns authorization, Filesystems & Mounting/Storage owns backing mounts and capacity.
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 Filesystem → /home. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html · 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
/home operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for /home.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | /home conventionally contains regular users’ home directories and persistent per-user data/configuration; it may be local, separately mounted, encrypted, automounted or provided by network storage and therefore should not be assumed to share the root filesystem. | Establish exactly what this Topic owns before crossing into another subsystem. |
| Fast verification | Pin process/container mount namespace → resolve the exact path from / and record every mount crossing → identify final dentry + filesystem/device + inode + file type → capture ownership/mode/ACL and capacity where relevant → map pseudo/device/runtime objects to the live kernel/process endpoint → verify the original consumer read/write/execute/service result. | Use the shortest evidence path first; a fast check is a boundary test, not blanket proof. |
| Verification chain | account home attribute → session identity → mount/autofs/network backing → directory/inode ownership + quota/capacity → user config/data access → application/session result | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | A /home path proves namespace presence only; it does not prove the intended mount, identity mapping, quota headroom or user-session usability. | Stop broad troubleshooting at the first boundary that is not supported by evidence. |
| Positive evidence | Correlated namespace, path and object evidence can establish this Linux Filesystem proof path: account home attribute → session identity → mount/autofs/network backing → directory/inode ownership + quota/capacity → user config/data access → application/session result | Use this observation only for the specific claim it actually supports. |
| Evidence limit | It does not independently prove behavior outside the captured namespace, mount, inode/object, authorization, backing-resource or consumer scope. A /home path proves namespace presence only; it does not prove the intended mount, identity mapping, quota headroom or user-session usability. | Do not promote a local success signal into end-to-end or adjacent-dependency proof. |
| Next troubleshooting check | Continue from the first unproven boundary: preserve the same process mount namespace, resolve the path and mount crossings, identify the exact object/inode or live pseudo/device endpoint, inspect effective access/capacity, then repeat the original consumer operation before changing unrelated filesystem state. | Continue to the next unresolved boundary while preserving the original test condition. |
/home · operational reference
Compact Linux state, persistence, verification and boundary reference for fast lookup.
| Reference boundary | /home |
|---|---|
| Topic path | Filesystem → /home |
| Runtime state | /home conventionally contains regular users’ home directories and persistent per-user data/configuration; it may be local, separately mounted, encrypted, automounted or provided by network storage and therefore should not be assumed to share the root filesystem. |
| Fast checks | - Read the account’s configured home path and verify it from the affected user/session context. - Confirm mount/backing source and watch for an exposed underlying mount-point directory. - Check ownership, mode/ACL, quota, capacity and identity mapping separately. - Verify login/application behavior using the intended user and actual home-backed path. |
| Verification chain | account home attribute → session identity → mount/autofs/network backing → directory/inode ownership + quota/capacity → user config/data access → application/session 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 | A /home path proves namespace presence only; it does not prove the intended mount, identity mapping, quota headroom or user-session usability. Boundary chain: process credentials/namespace → path/mount lookup → DAC/ACL/LSM → filesystem metadata → block/device/backend → completion/read-back. |
| Persistence rule | Prove which configuration source owns the state, then prove that the running consumer loaded or generated the intended state. |