I'm trying to run AppImage on Centos 7 with /tmp directory mounted with noexec flag but getting this error:
# ./test.AppImage
APPRUN_ERROR: Permission denied
I use TMPDIR=/path/to/appimage workaround so AppImage is mounted in same directory where I do have rights to execute but it doesn't seem to help in this case.
If I extract AppImage and run ./AppRun it fails with same error:
What I discovered is that AppImage itself drops interpreter into /tmp directory and tries to run executable that uses it:
strace ./test.AppImage output:
Hi, AppImage team! Thank you for project.
I'm trying to run AppImage on Centos 7 with
/tmp
directory mounted withnoexec
flag but getting this error:I use
TMPDIR=/path/to/appimage
workaround so AppImage is mounted in same directory where I do have rights to execute but it doesn't seem to help in this case.If I extract AppImage and run
./AppRun
it fails with same error:What I discovered is that AppImage itself drops interpreter into
/tmp
directory and tries to run executable that uses it:strace ./test.AppImage
output:I can copy interpreter into
squashfs-root
and use patchelf to make it work:Is there any way to make it run out-of-box for end-user?