systemd Failed With status=200/CHDIR (Missing WorkingDirectory)

`WorkingDirectory=` path does not exist or is unreadable by the service user.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.1.0
Identifier: systemd Failed With status=200/CHDIR (Missing WorkingDirectory) Platform: Linux
Common Root Causes:
  • `WorkingDirectory=` path does not exist or is unreadable by the service user.

Interactive Diagnostic Checklist

Verified Solutions:
  1. Create the directory with proper ownership or add `StateDirectory=` to the unit file.
Safe Diagnostic Command:
namei -om <WorkingDirectory>
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.

Technical Explanation

`WorkingDirectory=` path does not exist or is unreadable by the service user. Recommended diagnostic: `namei -om <WorkingDirectory>`. Remediation: Create the directory with proper ownership or add `StateDirectory=` to the unit file.

Worked Examples

  • Run `namei -om <WorkingDirectory>` to verify root cause before applying the remediation.

Limitations & Assumptions

  • Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.

Source References & Verification

Resource ID: err-linux-systemd-status-200-chdir · Independently verified: 2026-11-25

Related Resources