Unable to open files from a USB stick in snap build

• Jun 28, 2022 - 23:06
Reported version
Graphical (UI)
S4 - Minor

My USB stick is mounted and visible on Ubuntu Linux under /media/xxx/.
When I navigate to this location in Musescore I get Permission denied.


Thanks both.

I tried the useNativeDialogs toggle trick, it didn't fix the problem.

The snap distribution seems to have issues with mounted drives and filepaths with spaces in general.

I had to install the AppImage variant in order to be able to use the OS native file navigation and access mounted drives and partitions seamlessly.

This is a related post: https://musescore.org/en/node/299981

Title Unable to open files from a USB stick Unable to open files from a USB stick in snap build

Ah, it wasn't clear you were using a third-party build. There are indeed often problems with those. As noted in the linked forum thread, AppImage is always the official way to go for MuseScore on Linux.

I wouldn't call it "3rd party" once I found it presented on the official website.

Snap packages are a widely used functional installation method on Linux. There's nothing wrong with snaps if they are built and tested properly.

Users typically go with the package convenient for them install and use, not with the package convenient to build, support and distribute for maintainers.
There's a significant difference in perspective there.

Long story short, if you find that users report bugs in one of your officially presented distributions, you either intermediate a fix, or you take it down. You have to decide whether you intermediate support for those distros or not. You can't tell users, "hey, we're presenting you 6 distros, but please use the 4th one".

There are links to third party builds indeed, but only the AppImage is actually built and tested by the MsueScore team. Anything else is by definition third party. So, if the people building the snap happen to do a good job of it, great, but we have no control over that.

In an ideal world, sure, distribution maintainers could be relied on to always keep current, and to always build and package correctly. unfortunately, years of experience taught us this just isn't the case. So rather than continue to put up with versions of MuseScore that were often years out of date and contained build errors that led to various obscure bugs, we started building the AppImage ourselves so we could support Linux users better.

So, users are certainly welcome to try third party builds if they find installing them more convenient. But it's just a fact of life that they might be out of date and/or contain problems we can't control. So we build, package, provide, and support a version we have more control over.