A site returns 403 Forbidden after its home permissions change
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.
[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 pathCause
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-runAfter a
chmod 700on the home, the preview lists a change from0700to0750for/home/USER/files. Apply the repair.urbestack-home-repair --name USER --modesThe command restores the owners and modes UrbeStack sets for the home. It restores root as the owner of
/home/USERand sets its mode to0755. It sets/home/USER/filesto0750, the web folders to0755, and the private folders to0700.Load a page again. It returns
200.