Error Codes Wiki

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

  1. 1Check permissions: ls -la filename
  2. 2Change permissions: chmod u+rwx filename
  3. 3Change ownership: chown user:group filename
  4. 4Check SELinux context: ls -Z filename

Tags

linuxerrnoerrno 13 eaccestroubleshootingfix

More in Errno

Frequently Asked Questions

rwxr-xr-- means: owner has rwx, group has r-x, others have r-- (read only).