---
name: "xenstore-chmod"
section: "1"
platform: "linux"
package: "xenstore-utils"
version: "4.20.3+127-gc42374a105-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/xenstore-chmod"
---

# xenstore-chmod(1)

set the permissions of a Xenstore key

## NAME

xenstore-chmod - set the permissions of a Xenstore key

## SYNOPSIS

**xenstore-chmod** \[*OPTION*\]... \[*KEY*\] \[*PERM*\]...

## DESCRIPTION

Sets the permissions of the Xenstore *KEY*.

*PERM* has the format *LD*, where *L* is a letter for the type of permission and *D* is the corresponding domain ID.

The types of permission are:

- **r**

  read

- **w**

  write

- **b**

  read and write (both)

- **n**

  no access

The first permission entry is the domain owning the key (the owner) *and* the permissions for any domain not explicitly listed in subsequent entries.  The key owner always has full access (read, write, and set permissions).

- **-r**

  Apply the permissions to the key and all its *children*.

- **-u**

  Apply the permissions to the key and all its *parents*.

## BUGS

Send bugs to xen-devel@lists.xenproject.org, see https://wiki.xenproject.org/wiki/Reporting\_Bugs\_against\_Xen\_Project on how to send bug reports.
