K3b and brasero

Aug 29, 2022
P

Hello, I use Fedora Silverblue 36, i would like to install K3b ou Brasero to burn audio CDs but i can’t them in the Flathub anymore.
Where did yhey go ?
Is there another alternative ?

Thanks.

H

they have never been on Flathub.

P
Replying to #3

Unfortunately, I can’t find it in the software library, so I installed it in Toolbox.

M

See Add org.kde.k3b by Mailaender · Pull Request #4395 · flathub/flathub · GitHub although we are kinda stuck.

R
Replying to #5

I recently bought an external cd/dvd drive if that’s of any help

M

There appears to be a permission problem in Flatpak. Even if you escalate to the max like this

--filesystem=/dev/sr0:rw
--device=all
--filesystem=host
--allow=devel
--socket=session-bus

it fails to run the DVD burning CLI tools inside the sandbox.

M

Install Brasero on Linux | Flathub is now here.

H
Replying to #7

I’m not sure why you even try that. --device=all do expose all the /dev. As outlined in the PR review.

M
Replying to #9

Because the documentation is not clear about it saying that /dev is reserved and can never be exposed. If you tried the application, then you will notice that the command line tools fail to access the drive. It smells like a sandbox issue. It would be helpful if Flatpak had something like Snap’s classic mode, where there is no sandbox confinement for situations like this, where it only causes problems.

H
Replying to #10

The documentation is clear that --device=all give access to all devices. If you get a permission error, it’s because it can find the device but doesn’t have permissions to access. It feel complicated as a concept, but it has been like that for at least the last 30 years (aka as long as I have been using a UNIX like system). Otherwise it would say it can’t find the device if the device node didn’t exist due to a too narrow --device= permission.

Also I will point out that /dev/sr0 isn’t even proper, because there could be more than one.

M

What do you suggest instead to fix this?