---
title: notPermitted
framework: system
role: symbol
role_heading: Type Property
path: system/errno/notpermitted
---

# notPermitted

Operation not permitted.

## Declaration

```swift
static var notPermitted: Errno { get }
```

## Mentioned in

Adopting Swift Error Constants

## Discussion

Discussion An attempt was made to perform an operation limited to processes with appropriate privileges or to the owner of a file or other resources. The corresponding C error is EPERM.

## See Also

### General Errors

- [badMessage](system/errno/badmessage.md)
- [canceled](system/errno/canceled.md)
- [illegalByteSequence](system/errno/illegalbytesequence.md)
- [noData](system/errno/nodata.md)
- [noMessage](system/errno/nomessage.md)
- [noSuchPolicy](system/errno/nosuchpolicy.md)
- [notRecoverable](system/errno/notrecoverable.md)
- [outputQueueFull](system/errno/outputqueuefull.md)
- [tooManyReferences](system/errno/toomanyreferences.md)
- [tooManyUsers](system/errno/toomanyusers.md)
