Bug 510120 - K3b as snap doesn't start burning of Audio CDs and CD-ROMs/Images
Summary: K3b as snap doesn't start burning of Audio CDs and CD-ROMs/Images
Status: REPORTED
Alias: None
Product: k3b
Classification: Applications
Component: Burning/Hardware (other bugs)
Version First Reported In: unspecified
Platform: Snap Linux
: NOR normal
Target Milestone: ---
Assignee: K3b Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-01 10:47 UTC by Jan Rathmann
Modified: 2025-10-01 10:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Terminal output of `snap run k3b` for burning an Audio CD (38.86 KB, text/x-log)
2025-10-01 10:48 UTC, Jan Rathmann
Details
Terminal output of `snap run k3b` for burning a data image (38.88 KB, text/x-log)
2025-10-01 10:48 UTC, Jan Rathmann
Details
K3b diagnosis output after failing to burn an Audio CD (849 bytes, text/x-log)
2025-10-01 10:49 UTC, Jan Rathmann
Details
K3b diagnosis output after failing to burn a data image (1.29 KB, text/x-log)
2025-10-01 10:49 UTC, Jan Rathmann
Details
Screenshot of K3b Settings -> Programms -> Permissions window (101.17 KB, image/png)
2025-10-01 10:50 UTC, Jan Rathmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Rathmann 2025-10-01 10:47:03 UTC
SUMMARY
K3b, when run as snap, fails to both burn Data and Audio CDs. cdrdao and wodim immediately return an error when called to start the actual burning.

STEPS TO REPRODUCE
1. sudo snap install k3b
2. snap run k3b
3. Insert a blank CD-R.

For Audio CDs
4. Create a new Audio CD, add some audio files.
5. Click on "Write" (check "Simulate")

For CD-ROMs
4. Create a new data disc, add some files. (Or alternatively try to burn an image by clicking "Write image file...")
5. Click on "Write" (check "Simulate")

OBSERVED RESULT
Burning fails immediately, without actually trying to access the drive.

For Audio CDs:
Error message says:  
"cdrdao returned an unknown error code (errorcode 1)."

For CD-ROMs:
Error message says:
"cdrecord has insufficient permissions to open the device.
Change your device settings in K3b to solve this problem."

EXPECTED RESULT
Burning succeeds.

SOFTWARE/OS VERSIONS
(all from the About dialog of the K3b snap!)
K3b Version: 25.11.70
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.1

Reproduced with:
* Kubuntu 25.04
* KDE Linux

ADDITIONAL INFORMATION
Attachements: 
* Terminal output of  `snap run k3b` for both trying to burn an Audio CD and a CD-ROM, plus K3b's diagnosis output for each case.
* Screenshot of the Settings -> Programs -> Permissions dialog.  It seems not possible to actually change the permissions there, due to the immutability of snaps.
Comment 1 Jan Rathmann 2025-10-01 10:48:01 UTC
Created attachment 185420 [details]
Terminal output of `snap run k3b` for burning an Audio CD
Comment 2 Jan Rathmann 2025-10-01 10:48:31 UTC
Created attachment 185421 [details]
Terminal output of `snap run k3b` for burning a data image
Comment 3 Jan Rathmann 2025-10-01 10:49:15 UTC
Created attachment 185422 [details]
K3b diagnosis output after failing to burn an Audio CD
Comment 4 Jan Rathmann 2025-10-01 10:49:38 UTC
Created attachment 185423 [details]
K3b diagnosis output after failing to burn a data image
Comment 5 Jan Rathmann 2025-10-01 10:50:55 UTC
Created attachment 185424 [details]
Screenshot of K3b Settings -> Programms -> Permissions window