Skip to main content
POST /v1/agents/runtime/{runtime_id}/files/chown Changes the owning user and/or group of a path. Names are resolved inside the guest, so both names (root, www-data) and numeric IDs (0, 33) are accepted. At least one of user or group must be supplied.

Parameters

Response (ChangeOwnerResponse)

Changing ownership to another user requires privileges inside the guest. Templates that run as an unprivileged user can only chown paths they already own.