Browser Filesystem

Set file or directory permissions/ownership

put/browsers/{id_or_name}/fs/set_file_permissions

Request

  • Base URL
    https://api.onkernel.com
  • URL
    https://api.onkernel.com/browsers/{id_or_name}/fs/set_file_permissions
  • Auth
    HTTP bearer

Path parameters

id_or_namestring required

Browser session ID or name

Request body

groupstring

New group name or GID.

modestring required

File mode bits (octal string, e.g. 644).

ownerstring

New owner username or UID.

pathstring required

Absolute path whose permissions are to be changed.

Response

Permissions updated

Changes

No recorded changes to this operation across all 123 revisions of this API.