Article ID: 000095109 Content Type: Install & Setup Last Reviewed: 07/18/2023

[Gramine] Initializing Enclave Failed, Operation Not Permitted EPERM

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

How to initialize enclave when receiving EPERM errors

Description

Receiving the following error when trying to initialize enclave with Gramine:

Gramine is starting. Parsing TOML manifest file, this may take some time...
error: Initializing enclave failed: Operation not permitted (EPERM)
error: load_enclave() failed with error: Operation not permitted (EPERM)

Resolution

Add user to the Intel® SGX group with sudo usermod -aG sgx $USER

Additionally, ensure the kernel* version is 5.11 or higher with uname -r

Additional information

Visit reference for more information.

Related Products

This article applies to 2 products