Linux · Operation Not Permitted

Linux Error Code EPERM (1)

The operation is not permitted for this process, even with elevated privileges.

errorLast verified 2026-11-08Linux man-pages: errno(3)
Quick answer

The operation is not permitted for this process, even with elevated privileges.

CodeEPERM (1)
ProductLinux
Company / originLinux community · International open source
CategoryOperating Systems
Platform / versionsLinux kernel 4.x and later · Architecture-dependent errno numbering
Severityerror
Official sourceLinux man-pages: errno(3) ↗
Last verified2026-11-08

What does Linux error EPERM (1) mean?

EPERM (errno 1) means the kernel refused the operation because the process lacks the required capability or the operation is not allowed at all. It is different from EACCES: EPERM is usually about capabilities or immutable flags, not ordinary file permissions.

Common causes

  • The process lacks a required Linux capability.
  • A file is marked immutable or append-only.
  • A namespace, seccomp, or LSM policy blocks the operation.

How to fix it

  1. Step 1

    Check capabilities with capsh --print and the process's effective UID.

  2. Step 2

    Inspect file attributes with lsattr and remove immutable flags only if appropriate.

  3. Step 3

    Review container security profiles, seccomp, and SELinux/AppArmor denials.

When to escalate

Before you escalate: If an errno persists after checking permissions, paths, mounts, and resource limits, collect the command, the full error, strace output around the failing syscall, and the kernel version, then contact the application or distribution maintainer.

Related codes

CodeNameWhat it means
EACCES (13)Permission DeniedThe process does not have permission to access the file or directory.
EADDRINUSE (98)Address Already in UseThe network address or port is already bound.
EBUSY (16)Device or Resource BusyThe resource is busy and cannot be used or released.
ECONNREFUSED (111)Connection RefusedThe remote host actively refused the connection.
EEXIST (17)File ExistsThe file or directory already exists.

Source & verification

This page was checked against Linux man-pages: errno(3) on 2026-11-08. The code, product, and platform fields are kept separate from the explanation so corrections can be made without changing the URL.

Open Error Codes is independent and not affiliated with Linux community. Always confirm destructive or security-sensitive steps with the official documentation.