Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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