Linux errno 1 (EPERM) — Operation Not Permitted
Warningerrno
Overview
Linux errno 1 (EPERM) means the process does not have the required permissions to perform the requested operation.
Key Details
- EPERM — operation not permitted by the kernel
- Different from EACCES — EPERM means the operation is fundamentally not allowed
- Common when non-root users attempt privileged operations
- Can also occur with SELinux or AppArmor denials
Common Causes
- Attempting a root-only operation as normal user
- SELinux or AppArmor security policy denial
- Capability missing for the operation
- Immutable file attribute set
Steps
- 1Run the command with sudo for root privileges
- 2Check SELinux status: sestatus and audit log
- 3Check file attributes: lsattr filename
- 4Verify process capabilities with getpcaps
Tags
linuxerrnoerrno 1 epermtroubleshootingfix
More in Errno
linux-errno-2-enoentLinux errno 2 (ENOENT) — No Such File or Directory
Warninglinux-errno-5-eioLinux errno 5 (EIO) — Input/Output Error
Errorlinux-errno-11-eagainLinux errno 11 (EAGAIN) — Resource Temporarily Unavailable
Informationallinux-errno-12-enomemLinux errno 12 (ENOMEM) — Out of Memory
Criticallinux-errno-13-eaccesLinux errno 13 (EACCES) — Permission Denied
Warninglinux-errno-22-einvalLinux errno 22 (EINVAL) — Invalid Argument
WarningFrequently Asked Questions
EACCES is a file permission issue. EPERM means the operation itself is not allowed regardless of permissions.