Pcornel
Browse topics
Options
Recent
Favorites
Linux · Technical reference

/home

Direct answer

/home contains users' home directories (/home/<user>) with their files and per-user settings (dotfiles).

When to use this

Use it when a user cannot log in or write to their home, or when /home fills up.

First 30 seconds

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.

Operational verification

/home mounted (or virtual) → correct owner and permissions → enough space → services read and write as intended

Evidence · next step

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
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 when a user cannot log in or write to their home, or when /home fills up.
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

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 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

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.

Key checks
  • ls -ld <path> — owner, permissions and type
  • stat <path> — inode, links, size and timestamps
  • df -h <path> — filesystem and free space
  • findmnt <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

PathContent
~/.bashrc, ~/.profileShell configuration
~/.ssh/SSH keys, authorized_keys, known_hosts, config
~/.config/Application configuration (XDG)
~/.local/binPersonal programs (often added to PATH)
~/.local/shareApplication data
~/.cacheCache files, safe to delete

Permissions

SettingEffect
Mode 750 or 700 on home directoriesOther users can't read your files
HOME_MODE / UMASK in /etc/login.defsMode of newly created home directories
~/.ssh 700, authorized_keys 600Required 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

TopicPractice
Separate file systemEasier reinstall; quotas; full home can't fill root
Quotasxfs_quota or setquota per user
Network homesNFS or autofs: /home mounted from a file server
Directory usersHome 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.

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

/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.

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. 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
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 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%
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
linux /homeuser home directories linuxhome filesystem linuxlinux user home
Embedded reference data

Quick lookup tables

/home operational reference

Topic-specific lookup boundaries, proof limits and next-step Evidence for /home.

Lookup boundaryTopic-specific referenceOperational 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 verificationPin 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 chainaccount home attribute → session identity → mount/autofs/network backing → directory/inode ownership + quota/capacity → user config/data access → application/session resultTrace requested/configured state through effective state to the observed workload result.
Failure boundaryA /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 evidenceCorrelated 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 resultUse this observation only for the specific claim it actually supports.
Evidence limitIt 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 checkContinue 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 pathFilesystem → /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 chainaccount 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 boundaryA /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 ruleProve which configuration source owns the state, then prove that the running consumer loaded or generated the intended state.
Confirmation

Confirm action

Continue?