Replies: 1 comment 3 replies
-
If I understood you correctly, you have some files under the directory Then this line in the manifest is wrong:
The entrypoint must be the binary file, not a directory. To be honest, I don't understand what exactly you want to do. What is the native command that you type in the terminal and it works? You should put the first argument (the binary) of the typed command in the manifest file's |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have some binaries installed in /usr/local/bin (for ex. binary1) and supporting shared libraries in /usr/local/lib. If I execute this binary in my current working directory (for ex. /Downloads/test/) containing some required files (file 1, 2..) to be passed as parameters to this binary, I get expected result in the same working directory. But when I tried to execute this same command (binary1 file1 file2 ..) using gramine-sgx, I ended up facing errors.
Command: sudo gramine-sgx binary1 file1 file2 string1
Error: [P1:T1:] error: libos_init() failed in init_exec_handle: Permission denied (EACCES)
Makefile:
manifest.template:
How can resolve this error and generate the same output as obtained without using gramine-sgx?
Beta Was this translation helpful? Give feedback.
All reactions