<!--
{
  "availability" : [
    "macOS: 15.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSVolume/AccessMask/writeXattr",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:@E@FSAccessMask@FSAccessWriteXattr"
  },
  "title" : "writeXattr"
}
-->

# writeXattr

The file system allows writing extended file attributes.

```
static var writeXattr: FSVolume.AccessMask { get }
```

---

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)