EPERMEPERM — Operation Not Permitted
The process does not have the required permissions to perform the requested operation.
Browse all 130 Linux/POSIX Errors error codes with causes, fixes, and examples.
EPERMThe process does not have the required permissions to perform the requested operation.
ENOENTThe specified file or directory does not exist in the filesystem.
ESRCHNo process matching the specified process ID was found.
EINTRA blocking system call was interrupted by a signal before it could complete.
EIOA physical or low-level I/O error occurred during a read or write operation.
ENXIOThe device specified by a special file does not exist or is not configured.
E2BIGThe total size of the argument list and environment variables passed to exec() exceeds the system limit.
ENOEXECAn attempt was made to execute a file that is not in a recognized executable format.
EBADFA file descriptor argument is not a valid open file descriptor or is not open for the requested operation.
ECHILDThe calling process has no existing child processes to wait for.
EAGAINThe requested operation would block on a non-blocking resource, or a system resource is temporarily unavailable.
ENOMEMThe system does not have enough available memory to fulfill the allocation request.
EACCESThe requested access to a file or resource is not allowed by the file permissions.
EFAULTAn invalid memory address was passed to a system call as an argument.
ENOTBLKA non-block device was specified where a block device is required.
EBUSYThe requested resource is currently in use and cannot be exclusively accessed or modified.
EEXISTA file creation operation failed because a file with the specified name already exists.
EXDEVAn attempt was made to create a hard link across different filesystems.
ENODEVThe requested device type or device driver is not available in the system.
ENOTDIRA component used as a directory in a pathname is not actually a directory.
EISDIRThe operation is not permitted on a directory, but the target path is a directory.
EINVALAn invalid argument was passed to a system call or library function.
ENFILEThe system-wide limit on the total number of open files has been reached.
EMFILEThe per-process limit on the number of open file descriptors has been reached.
ENOTTYAn ioctl request was made on a file descriptor that does not support it.
ETXTBSYAn attempt was made to write to or modify a file that is currently being executed.
EFBIGThe file size exceeds the maximum allowed by the filesystem or the process resource limit.
ENOSPCThe filesystem has no more free space or inodes available for writing.
ESPIPEA seek operation was attempted on a file descriptor that does not support seeking.
EROFSAn attempt was made to modify a file or directory on a filesystem that is mounted read-only.
EMLINKThe maximum number of hard links to a single file has been exceeded.
EPIPEA write was attempted on a pipe or socket for which the reading end has been closed.
EDOMA mathematical function received an argument outside its defined domain.
ERANGEThe result of a mathematical function or conversion is too large or too small to be represented.
EDEADLKA resource deadlock would have occurred if the operation had proceeded.
ENAMETOOLONGA filename or pathname exceeds the maximum length allowed by the filesystem.
ENOLCKThe system has exhausted its pool of file locks.
ENOSYSThe requested system call or function is not implemented on this system.
ENOTEMPTYAn attempt was made to remove a directory that still contains entries.
ELOOPA pathname lookup encountered too many symbolic links during resolution.
ENOMSGNo message of the requested type is available in the message queue.
EIDRMThe IPC identifier (message queue, semaphore set, or shared memory segment) was removed.
ENOSTRA STREAMS-specific operation was attempted on a non-STREAMS file descriptor.
ENODATANo data is available from the STREAMS device or no named attribute was found.
ETIMEA STREAMS ioctl operation timed out or a real-time timer expired.
ENOSRThe system ran out of STREAMS resources needed to complete the operation.
ENOLINKA remote resource linked via a network filesystem is no longer accessible.
EPROTOA protocol error was detected at the transport or network layer.
EBADMSGA message received on a STREAMS device or messaging interface was malformed.
EOVERFLOWA value is too large to be stored in the target data type.
EILSEQAn invalid multibyte or wide character sequence was encountered during character conversion.
ECANCELEDAn asynchronous operation was canceled before it completed.
ENOBUFSThe system does not have enough network buffer space to complete the operation.
EAFNOSUPPORTThe specified address family is not supported by the protocol or socket implementation.
EPROTOTYPEThe protocol type is wrong for the socket being used.
ENOTSOCKA socket operation was attempted on a file descriptor that is not a socket.
ENOPROTOOPTThe requested protocol option is not available or not supported at the specified level.
EPROTONOSUPPORTThe specified protocol is not supported by this socket domain or is not implemented.
EOPNOTSUPPThe requested operation is not supported by the socket type or protocol.
EADDRINUSEThe specified network address and port combination is already bound by another socket.
EADDRNOTAVAILThe requested network address is not available on any local network interface.
ENETDOWNThe local network interface is down and cannot send or receive traffic.
ENETUNREACHNo route to the destination network exists in the routing table.
ENETRESETThe network connection was reset due to a network-level event.
ECONNABORTEDThe connection was aborted locally due to a software condition or timeout.
ECONNRESETThe remote host forcibly closed the connection by sending a TCP RST packet.
ECONNREFUSEDNo process is listening on the target address and port, so the connection was actively refused.
ENOTCONNA send or receive operation was attempted on a socket that is not connected.
ESHUTDOWNA send operation was attempted after the local end of the socket was shut down for writing.
ETOOMANYREFSToo many references to a kernel object prevent the operation from completing.
ETIMEDOUTA connection attempt or network operation failed because the remote host did not respond in time.
EALREADYA non-blocking connection attempt is already in progress on this socket.
EINPROGRESSA non-blocking connection attempt has been initiated and is still in progress.
EDESTADDRREQA send operation on a datagram socket was attempted without specifying a destination address.
EMSGSIZEThe message is too large to be sent atomically through the socket or transport protocol.
ESTALEA file handle references a file that has been deleted or is no longer accessible on the NFS server.
EDQUOTThe user's disk quota for the filesystem has been exceeded.
EHOSTDOWNThe destination host is down and unreachable.
EHOSTUNREACHNo route to the destination host could be found, or an ICMP host unreachable message was received.
EUSERSThe system has reached the maximum number of concurrent users.
ESOCKTNOSUPPORTThe specified socket type is not supported within the given protocol family.
EPFNOSUPPORTThe specified protocol family is not supported or not configured in the system.
EISCONNA connect() call was made on an already-connected socket.
EREMOTEIOA remote I/O operation failed due to a communication or device error.
ENOMEDIUMNo removable medium is present in the drive or device.
EMEDIUMTYPEThe medium in the device is not the type expected by the operation.
ENOTRECOVERABLEThe mutex state cannot be recovered after a previous owner died without unlocking it.
EOWNERDEADThe previous owner of a robust mutex terminated while holding the lock.
SIGHUP (1)The controlling terminal was closed or the session leader process ended.
SIGINT (2)An interrupt signal was sent, typically by pressing Ctrl+C in the terminal.
SIGQUIT (3)A quit signal was sent, typically by pressing Ctrl+\ in the terminal, producing a core dump.
SIGILL (4)The process attempted to execute an illegal, malformed, or privileged machine instruction.
SIGTRAP (5)A breakpoint or trace trap was triggered, typically during debugging.
SIGABRT (6)The process was aborted, typically by calling abort() or due to a failed assertion.
SIGBUS (7)The process attempted an invalid memory access due to misaligned access or accessing a nonexistent physical address.
SIGFPE (8)An arithmetic error occurred, such as division by zero or floating-point overflow.
SIGKILL (9)The process was unconditionally terminated. This signal cannot be caught, blocked, or ignored.
SIGUSR1 (10)A user-defined signal for application-specific purposes. The default action is to terminate.
SIGSEGV (11)The process attempted to access memory that it is not allowed to access.
SIGUSR2 (12)A second user-defined signal for application-specific purposes. The default action is to terminate.
SIGPIPE (13)The process attempted to write to a pipe or socket whose reading end has been closed.
SIGALRM (14)A timer set with alarm() or setitimer() has expired.
SIGTERM (15)A graceful termination request was sent to the process.
SIGCHLD (17)A child process has terminated, stopped, or resumed.
SIGCONT (18)A stopped process was resumed.
SIGSTOP (19)The process was unconditionally stopped. This signal cannot be caught or ignored.
SIGTSTP (20)A stop signal from the terminal, typically Ctrl+Z. Unlike SIGSTOP, this can be caught.
SIGTTIN (21)A background process attempted to read from its controlling terminal.
SIGTTOU (22)A background process attempted to write to its controlling terminal when TOSTOP is set.
SIGURG (23)Urgent or out-of-band data arrived on a socket.
SIGXCPU (24)The process exceeded its soft CPU time limit.
SIGXFSZ (25)The process attempted to create a file larger than allowed.
SIGVTALRM (26)A virtual timer set with setitimer(ITIMER_VIRTUAL) expired.
SIGWINCH (28)The terminal window size changed.
SIGIO (29)A file descriptor is ready for I/O, used with signal-driven async I/O.
SIGPWR (30)A power failure was detected, typically from a UPS notification.
SIGSYS (31)The process made an invalid system call or one blocked by a seccomp filter.
Exit 0The process completed successfully with no errors.
Exit 1The process exited with a general, unspecified error.
Exit 2A shell built-in was used incorrectly, or a command returned a usage error.
Exit 126The command was found but is not executable.
Exit 127The command was not found in any PATH directory.
Exit 128An invalid argument was passed to exit, or the process was killed by a signal (128+N).
Exit 130The process was terminated by SIGINT (signal 2), typically from Ctrl+C.
Exit 137The process was forcibly killed by SIGKILL (signal 9).
Exit 139The process crashed due to a segmentation fault (signal 11).
Exit 141The process was terminated by SIGPIPE (signal 13) due to a broken pipe.
Exit 143The process was terminated by SIGTERM (signal 15).
Exit 255The exit status is out of the valid range (0-255), or SSH returned a fatal error.
SIGPROF (27)A profiling timer set with setitimer(ITIMER_PROF) expired.