# A site returns 403 Forbidden after its home permissions change

UrbeStack sysadmin note about Apache. Last updated 30 Nov 2026.

Every page of a customer's sites returns `403 Forbidden` after a `chmod` or `chown` on the customer's home. The change removes Apache's access to the folders, and one command restores it.

## Symptoms

Every page returns `403 Forbidden`. The domain's error log, shown by `urbestack-domain-log --name example.com --type error`, contains this line.

```output
[Mon Nov 30 08:26:59.564544 2026] [core:error] [pid 2583:tid 2696] (13)Permission denied: [client 203.0.113.10:35372] AH00035: access to /index.html denied (filesystem path '/home/USER/files/web') because search permissions are missing on a component of the path
```

## Cause

The customer owns `/home/USER/files`, and its group is the web server's group. Mode `0750` keeps other accounts out and lets Apache enter through that group.

A `chmod 700` on the home removes group access. A `chown -R` that changes the home's group also removes Apache's access.

## Resolution

Preview the changes before applying them.

```
urbestack-home-repair --name USER --modes --dry-run
```

After a `chmod 700` on the home, the preview lists a change from `0700` to `0750` for `/home/USER/files`. Apply the repair.

```
urbestack-home-repair --name USER --modes
```

The command restores the owners and modes UrbeStack sets for the home. It restores root as the owner of `/home/USER` and sets its mode to `0755`. It sets `/home/USER/files` to `0750`, the web folders to `0755`, and the private folders to `0700`.

Load a page again. It returns `200`.

If the problem persists after you follow this note, you can [open a support ticket](https://support.urbestack.com/new?type=support). Including the output of the commands you ran helps support diagnose the problem.
