---
title: posixPermissions
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/fileattributekey/posixpermissions
---

# posixPermissions

The key in a file attribute dictionary whose value indicates the file’s Posix permissions.

## Declaration

```swift
static let posixPermissions: FileAttributeKey
```

## Discussion

Discussion The corresponding value is an NSNumber object. Use the int16Value method to retrieve the integer value for the permissions.

## See Also

### Accessing File Attributes

- [appendOnly](foundation/fileattributekey/appendonly.md)
- [busy](foundation/fileattributekey/busy.md)
- [creationDate](foundation/fileattributekey/creationdate.md)
- [deviceIdentifier](foundation/fileattributekey/deviceidentifier.md)
- [extensionHidden](foundation/fileattributekey/extensionhidden.md)
- [groupOwnerAccountID](foundation/fileattributekey/groupowneraccountid.md)
- [groupOwnerAccountName](foundation/fileattributekey/groupowneraccountname.md)
- [hfsCreatorCode](foundation/fileattributekey/hfscreatorcode.md)
- [hfsTypeCode](foundation/fileattributekey/hfstypecode.md)
- [immutable](foundation/fileattributekey/immutable.md)
- [modificationDate](foundation/fileattributekey/modificationdate.md)
- [ownerAccountID](foundation/fileattributekey/owneraccountid.md)
- [ownerAccountName](foundation/fileattributekey/owneraccountname.md)
- [protectionKey](foundation/fileattributekey/protectionkey.md)
- [referenceCount](foundation/fileattributekey/referencecount.md)
