---
title: NSWorkspace.AuthorizationType.setAttributes
framework: appkit
role: symbol
role_heading: Case
path: appkit/nsworkspace/authorizationtype/setattributes
---

# NSWorkspace.AuthorizationType.setAttributes

Authorization for the app to change specific file attributes.

## Declaration

```swift
case setAttributes
```

## Discussion

Discussion Signifies that the user has granted authorization for setAttributes(_:ofItemAtPath:). Only these attributes can be modified: ownerAccountID groupOwnerAccountID posixPermissions

## See Also

### Types of Authorization

- [NSWorkspace.AuthorizationType.createSymbolicLink](appkit/nsworkspace/authorizationtype/createsymboliclink.md)
- [NSWorkspace.AuthorizationType.replaceFile](appkit/nsworkspace/authorizationtype/replacefile.md)
