<!--
{
  "availability" : [
    "macOS: 15.4.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSVolume/XattrOperations",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:objc(pl)FSVolumeXattrOperations"
  },
  "title" : "FSVolume.XattrOperations"
}
-->

# FSVolume.XattrOperations

Methods and properties implemented by volumes that natively or partially support extended attributes.

```
protocol XattrOperations : NSObjectProtocol
```

## Overview> Deprecated: Use ``doc://FSKit/documentation/FSKit/FSVolume/XattrHandler``

## Topics

### Reading and writing

[`getXattr(named:of:replyHandler:)`](/documentation/FSKit/FSVolume/XattrOperations/getXattr(named:of:replyHandler:))

Gets the specified extended attribute of the given item.

[`listXattrs(of:replyHandler:)`](/documentation/FSKit/FSVolume/XattrOperations/listXattrs(of:replyHandler:))

Gets the list of extended attributes currently set on the given item.

[`setXattr(named:to:on:policy:replyHandler:)`](/documentation/FSKit/FSVolume/XattrOperations/setXattr(named:to:on:policy:replyHandler:))

Sets the specified extended attribute data on the given item.

[`FSVolume.SetXattrPolicy`](/documentation/FSKit/FSVolume/SetXattrPolicy)

Flags to specify the policy when setting extended file attributes.

[`supportedXattrNames(for:)`](/documentation/FSKit/FSVolume/XattrOperations/supportedXattrNames(for:))

Returns an array that specifies the extended attribute names the given item supports.

### Inspecting volume properties

[`xattrOperationsInhibited`](/documentation/FSKit/FSVolume/XattrOperations/xattrOperationsInhibited)

A Boolean value that instructs FSKit not to call this protocol’s methods, even if the volume conforms to it.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)