Skip to content

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

@Root-Core

Description

@Root-Core

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions