Linux errno 13 (EACCES) — Permission Denied
Warningerrno
Overview
Linux errno 13 (EACCES) means the process does not have the necessary file system permissions to access the requested resource.
Key Details
- EACCES — standard Unix permission denied
- Based on file owner, group, and other permission bits
- Check with ls -la to see file permissions
- Different from EPERM (operation-level denial)
Common Causes
- File permissions do not allow the requested access
- Execute permission missing for scripts or binaries
- Directory without execute permission blocks traversal
- SELinux context mismatch
Steps
- 1Check permissions: ls -la filename
- 2Change permissions: chmod u+rwx filename
- 3Change ownership: chown user:group filename
- 4Check SELinux context: ls -Z filename
Tags
linuxerrnoerrno 13 eaccestroubleshootingfix
More in Errno
linux-errno-1-epermLinux errno 1 (EPERM) — Operation Not Permitted
Warninglinux-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-22-einvalLinux errno 22 (EINVAL) — Invalid Argument
WarningFrequently Asked Questions
rwxr-xr-- means: owner has rwx, group has r-x, others have r-- (read only).