Guides

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

Permissions and ownership

uadmin user, www-data, setgid directories (2775) and file manager.

  1. Standard layout

    Projects live in /web/public_html/<domain>/. Wizard automatically sets ownership to uadmin user and chmod 2775 on directories, 664 on files.

    ls -la /web/public_html/example.com/
    # drwxrwsr-x uadmin uadmin  ...
    # -rw-rw-r-- uadmin uadmin  index.php
  2. PHP-FPM and www-data

    PHP process runs as uadmin. Nginx/Apache (www-data) accesses PHP-FPM socket. www-data is in uadmin group so web server can read files.

  3. File manager

    Upload, rename, chmod and delete files via file manager on the project page. The panel respects security limits within document root.

  4. Manual fix (SSH)

    If an app manually changed ownership, restore it with recovery tools or manually:

    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 {} \;
    Tip

    Never set 777 in production — use the panel 2775/664 model.