Guides

Practical step-by-step instructions for developers and system administrators — installation, maintenance, PHP, projects and troubleshooting.

Permission problems

Upload fails, files not writable — ownership and chmod in /web/public_html.

  1. Symptoms

    CMS cannot upload files, cache folders fail, install reports «not writable». Often after manual file copy via root SSH.

  2. Quick fix

    Restore ownership and chmod to uAdmin standard:

    sudo chown -R uadmin:uadmin /web/public_html/example.com
    sudo find /web/public_html/example.com -type d -exec chmod 2775 {} \;
    sudo find /web/public_html/example.com -type f -exec chmod 664 {} \;
  3. tmp directory

    Verify tmp/ exists in document root and upload_tmp_dir on Security tab. Panel creates tmp/ when creating project.