Skip to content
Shellbay

Backups & Files · about 1 min · 3 steps

Set ownership

Makes an account the owner of a folder or file, and optionally everything inside, e.g. so an app can write its files.

Runs on

  • Debian / Ubuntu: supported
  • RHEL / Fedora: supported
  • Alpine: supported

What it changes on your server

  • Changes the owner and group of the folder or file, and everything inside it if chosen.
  • Saves the previous owners to the run (7 days) so you can see what changed.

What Shellbay asks you

  1. Which folder or file?

    The full path, starting with /, e.g. your app's folder.

    Folder or file
    Text, up to 1024 characters

    Example: /var/www/shop

  2. Who should own it?

    An existing account, and optionally a group. Leave the owner empty for the account Shellbay signs in with, and the group empty for the owner's main group. Web servers often use www-data (Debian, Ubuntu) or nginx.

    Owner (optional) (optional)
    Text, up to 32 characters
    Group (optional) (optional)
    Text, up to 32 characters

    Example: deploy

  3. Include everything inside?

    On changes every file and folder inside too, which is usually what an app needs.

    Include everything inside
    On or off. Default: on

Steps

  1. Check the path and owner
  2. Change the owner
  3. Check the owner

Shellbay checks the server before the first step, and stops at the first step that fails.

When it's done

  • ‹folder or file› is owned by the account you chose.