Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux] Can't execute lpac - IOException / Permission denied, Error: 13 #9

Open
Root-Core opened this issue Jan 6, 2025 · 0 comments

Comments

@Root-Core
Copy link

Root-Core commented Jan 6, 2025

OS: Manjaro Linux, current rolling release
MiniLPA version: 1.1.1 - .zip release - unpacked to a folder
JRE:

java -version
openjdk version "23" 2024-09-17
OpenJDK Runtime Environment (build 23)
OpenJDK 64-Bit Server VM (build 23, mixed mode, sharing)

I already tried chmod +x lpac / chmod 0777 lpac / chmod 0777 MiniLPA and running it with sudo. No luck yet.
It seems MiniLPA is not allowed to spawn any other process.
The included lpac itself functions as intended, if I run it manually.

image
latest.log


EDIT:

I managed to fix it by executing

chmod +x lib/runtime/lib/jspawnhelper

This process should be automated.


EDIT 2:

Using the MiniLPA.jar artifact from compiling works out of the box. Maybe you should consider shipping it instead of the "App Image". Please also mind, "AppImage" is the name of a well known format in the Linux world. It certainly is a red herring for advanced Linux users.


EDIT 3:

If lpac is already provided by the system's PATH, shouldn't we use this binary instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant