Skip to content

Provide way to mount/extract AppImages without having user call them #830

@TheAssassin

Description

@TheAssassin

In situations when AppImages are not trustworthy, mounting AppImages becomes problematic. On the one hand a user doesn't want to execute the AppImage itself to use the --appimage-[mount|extract] options, as they can't know what's going to happen then (the runtime might be infected, for example). But on the other hand, mounting as root with sudo mount has a lot of disadvantages.

We should provide some tool for users to allow them to extract any AppImage without having to use the runtime in the AppImage. We've been talking about such an option for quite a while already, and I think it's time to finally implement it.

To Do:

  • extract mounting/extraction code for type 2 AppImages into a separate module, and provide it via the libappimage API
  • implement --mount option in appimagetool
  • eventually provide option to mount/extract type 1 AppImages as well (this is long overdue)

In my opinion, this should go into appimagetool rather than providing an extra application.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions