Skip to content

AppImage mounted filesystem read-only errors when executing mv/modify commands #570

@movilavadim6

Description

@movilavadim6

Hi, when running the script from within an AppImage, it attempts to modify files in the mounted filesystem at /tmp/.mount_*. However, this filesystem is mounted as read-only by design, causing various commands (particularly mv and file modification operatios) to fail with "Read-only file system" errors.

For example, when executing the script, I encounter errors like:
mv: cannot remove '/tmp/.mount_pkg2apnThTDz/pkg2appimage.desktop': Read-only file system

This occurs because the HERE variable points to the AppImage's mounted location (e.g., /tmp/.mount_pkg2apEi0qUV/), and the script attempts to perform write operations in this read-only environment.

How can I handle this read-only filesystem scenario and ensure file operations work correctly when running from an AppImage?

Image

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