ERROR_EA_ACCESS_DENIED - 994 (0x3E2)
Access to the extended attribute was denied.
Updated: Feb 21, 2026
Technical Meaning
The ERROR_EA_ACCESS_DENIED error indicates that the system has denied access to an extended attribute (EA) associated with a file or directory. Extended attributes are additional metadata stored in files and directories beyond the standard name, size, and timestamps.
Error Details
- Error Name: ERROR_EA_ACCESS_DENIED
- Numeric Code: 994
- Hex Code: 0x3E2
- Short Description: Access to the extended attribute was denied.
This error typically occurs when a process attempts to read, write, or modify an EA that it does not have permission to access. The specific permissions required depend on the type of EA and the security context under which the operation is performed.
Usage Context
Extended attributes are commonly used for storing custom metadata in files and directories. These can include user-defined attributes such as file icons, comments, or other non-standard information. Access to these EAs may be controlled by the system or by specific permissions set on the file or directory.
Developer Interpretation
When encountering ERROR_EA_ACCESS_DENIED, developers should consider the following:
- Permissions Check: Ensure that the process has the necessary permissions to access the extended attribute. This includes checking both explicit and inherited permissions from parent directories.
- Security Context: Verify that the security context under which the operation is performed allows for the required level of access.
- File or Directory Type: Confirm whether the EA is associated with a file or directory, as different types may have varying levels of accessibility.
Related Errors
ERROR_ACCESS_DENIED(3221225473): A generic access denial error that can occur for various resources beyond extended attributes.ERROR_EA_LIST_INCONSISTENT(996): An inconsistency in the list of extended attributes, which may indirectly lead to access issues.
FAQ
Q: What does ERROR_EA_ACCESS_DENIED mean?
A: It means that the system has denied access to an extended attribute associated with a file or directory.
Q: How can I resolve this error?
A: Ensure that your process has the necessary permissions and verify the security context. Check if the EA is accessible from the current security context.
Summary
ERROR_EA_ACCESS_DENIED indicates a denial of access to an extended attribute, which can be due to insufficient permissions or incorrect security contexts. Developers should carefully manage file and directory permissions and ensure that processes have the appropriate rights to perform operations on extended attributes.