# FUSE setattr

> Tag 8: the client sets the mode, the owner, the group or the times of an entry of the volume, by the path of the entry within the volume, in the form the FUSE mount ask of the same tag has on the container proxy; the server answers with exactly one channel response, ok, read only, or an error, from the volume.

Canonical: https://protocol.diverge.network/2.3.0/endpoints/volumes-fuse-serve/client/setattr/
Specification revision: 2.3.0

The client opens this channel to perform on the served volume what a
program in a container performs on a FUSE mount. The ask names the
entry by its path within the volume, and names no volume: the scope
is the volume. It is, byte for byte, the ask of tag `8` a FUSE
mount's scope carries on the container proxy, and the server answers
it as a client answers that ask, from the volume.

- **The request.** The tag byte `8` followed by the ask.
  [Request](/2.3.0/endpoints/volumes-fuse-serve/client/setattr/request/) states its form.
- **The response.** Exactly one channel response and the channel
  response finish. [Response](/2.3.0/endpoints/volumes-fuse-serve/client/setattr/response/) states the
  sequence.
- **The meaning.** What the ask means, and what its answer means,
  [FUSE setattr](/2.3.0/container-proxy-endpoints/fuse-mount/server/setattr/) states for the mount, and
  [FUSE setattr](/2.3.0/endpoints/containers-agents-run/server/fuse-setattr/) states
  for the relay; the same holds here, the volume standing where the
  client's storage stands there.
- **The volume answers.** The server answers from the volume as it is
  at the time of the answer, and changes the volume as the ask asks
  before it answers `ok`. Nothing is buffered on the client's behalf.
- **The mode.** A `persistent` volume takes the change in place. An `ephemeral` volume takes it into the layer of this FUSE serve, and answers with an error a change that would take the layer past `overlay_disk`, the volume and the layer as they were. A `read_only` volume answers this ask with the read-only byte, and is not changed.
