Skip to content

RPM updater fails with Permission denied (os error 13) on Fedora Linux #7581

Description

@ItsARCn

Please confirm the following.

  • I checked the existing issues for duplicate problems
  • I have tried resolving the issue using the support portal
  • I have ensured my Modrinth App installation is up to date

What version of the Modrinth App are you using?

0.21.2

What operating systems are you seeing the problem on?

Linux

Describe the bug

The built-in updater is unable to install updates when Modrinth App is installed using the official RPM package on Fedora Linux.

I am currently using Modrinth App 0.21.2. The app detects that an update is available and successfully downloads it. After restarting the app to apply the update, the installation fails with:

Permission denied (os error 13)

The error occurs during the update installation and references a temporary file under /usr/bin, such as:

/usr/bin/tauri_current_app...

The application itself continues to work normally when launched without updating.

This behavior did not occur for me with earlier Modrinth App updates, so it appears to be a regression in the updater or RPM update process.

Steps to reproduce

  1. Install Modrinth App 0.21.2 using the official RPM package on Fedora Linux.
  2. Launch Modrinth App normally as a regular user.
  3. When an update is available, use the built-in updater.
  4. Allow the update to download completely.
  5. Restart the Modrinth App when prompted to install the update.
  6. The update fails with Permission denied (os error 13).

Expected behavior

The built-in updater should be able to update the RPM installation successfully, either by requesting the required administrator privileges or by using an appropriate privileged update mechanism.

The user should not need to manually download every new RPM release and install it with sudo dnf install.

Additional context

The RPM installation itself is valid.

The installed executable is:
/usr/bin/ModrinthApp

It is owned by:
root:root

RPM verification succeeds:
rpm -V modrinth-app

The update appears to download successfully. The failure occurs when the updater attempts to install/replace the application executable.

The error references a temporary path similar to:
/usr/bin/tauri_current_app...

This worked correctly for me with earlier Modrinth App updates, so this appears to be a regression or change in the Linux RPM updater behavior.

System:

  • Fedora Linux 44
  • KDE Plasma
  • Wayland
  • Modrinth App 0.21.2
  • Official RPM package

I have attached screenshots showing the updater error and installation details.

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

    appRelates to Modrinth App

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions