Package: k3b
Version: 20.12.2-1
Severity: important

Dear Maintainer,

I have an optical disc reader/burner and needed to burn an Audio CD, so I 
opened K3b, created a new Audio CD project, and hit "Burn".
It took awhile to burn, and in the middle of it I get an error message:

Solution: Check permissions via Settings -> Configure K3b... -> Programs -> 
Permissions. If K3b's default value is set make sure you are member of 
"operator" group.
Insufficient permissions for cdrdao executable: /bin/cdrdao
K3b uses cdrdao to actually write CDs.

This actually made my CD-R a coaster, as it seems that some part of the disc 
was already written, but no audio is playable after testing it in VLC. I later 
installed xfburn, interted a new CD-R and it burned the CD without issue.
Because I still wanted to use K3b, I ran the command usermod -aG operator alex 
as root and restarted K3b. I was greeted to another error:

Insufficient permissions for cdrecord executable: /bin/wodim
K3b uses cdrecord to actually write CDs.
Solution: Check permissions via Settings -> Configure K3b... -> Programs -> 
Permissions. If K3b's default value is set make sure you are member of 
"operator" group.
Insufficient permissions for cdrdao executable: /bin/cdrdao
K3b uses cdrdao to actually write CDs.
Solution: Check permissions via Settings -> Configure K3b... -> Programs -> 
Permissions. If K3b's default value is set make sure you are member of 
"operator" group.
Insufficient permissions for growisofs executable: /bin/growisofs
K3b uses growisofs to actually write DVDs. Without growisofs you will not be 
able to write DVDs. Make sure to install at least version 5.10.
Solution: Check permissions via Settings -> Configure K3b... -> Programs -> 
Permissions. If K3b's default value is set make sure you are member of 
"operator" group.

I logged out and logged back in, but still got the error. Then I ran the groups 
command. Here is the output:

alex@galago-pro:~$ groups
alex dialout cdrom floppy sudo audio dip operator video plugdev kvm netdev 
bluetooth lpadmin scanner libvirt wireshark

It seems like I am a member of all the proper user groups (audio, video, cdrom, 
operator).
After talking to some of the members of the #debian IRC channel, some helpful 
folks linked me to #983861 and 
https://salsa.debian.org/qt-kde-team/kde/k3b/-/blob/master/debian/README.Debian 
and I also found #401057.

Looks like k3b is falsely requiring the operator group instead of cdrom, but 
even when you add your user to operator and cdrom, K3b still errors out, asking 
the user for operator permissions. And the README file says to run 
dpkg-statoverride --add root cdrom 04710 /usr/bin/wodim if I am still getting 
permission issues, so I ran that, and just to be safe, I rebooted my system and 
opened K3b.
Upon opening, I didn't get an error message. Assuming that the command worked, 
I attempted to burn another CD-R and... it did the exact same thing as when I 
did it the first time... that makes two coasters.

It seems like there is a problem with this package and the way it accepts 
permissions. Can anyone try it on their own system to confirm that the bug is 
reproducable?

Thanks,
Alex Relis

-- Package-specific info:
Device was not specified. Trying to find an appropriate drive...
Detected CD-R drive: /dev/cdrw
Using /dev/cdrom of unknown capabilities
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'HL-DT-ST'
Identification : 'BD-RE BP60NB10  '
Revision       : '1.02'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R

-- System Information:
Debian Release: 11.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable'), (100, 'bullseye-fasttrack'), (100, 'bullseye-backports-staging')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-0.bpo.1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages k3b depends on:
ii  cdparanoia             3.10.2+debian-13.1
ii  cdrdao                 1:1.2.4-2
ii  genisoimage            9:1.1.11-3.2
ii  k3b-data               20.12.2-1
ii  kio                    5.78.0-5
ii  libc6                  2.31-13+deb11u3
ii  libk3b7                20.12.2-1
ii  libkf5archive5         5.78.0-2
ii  libkf5authcore5        5.78.0-2
ii  libkf5bookmarks5       5.78.0-2
ii  libkf5cddb5            4:20.12.0-1
ii  libkf5completion5      5.78.0-3
ii  libkf5configcore5      5.78.0-4
ii  libkf5configwidgets5   5.78.0-2
ii  libkf5coreaddons5      5.78.0-4
ii  libkf5i18n5            5.78.0-2
ii  libkf5iconthemes5      5.78.0-2
ii  libkf5jobwidgets5      5.78.0-2
ii  libkf5kcmutils5        5.78.0-3
ii  libkf5kiocore5         5.78.0-5
ii  libkf5kiofilewidgets5  5.78.0-5
ii  libkf5kiowidgets5      5.78.0-5
ii  libkf5newstuff5        5.78.0-4
ii  libkf5notifications5   5.78.0-2
ii  libkf5notifyconfig5    5.78.0-2
ii  libkf5service-bin      5.78.0-2
ii  libkf5service5         5.78.0-2
ii  libkf5solid5           5.78.0-2
ii  libkf5widgetsaddons5   5.78.0-2
ii  libkf5xmlgui5          5.78.0-2
ii  libqt5core5a           5.15.2+dfsg-9
ii  libqt5dbus5            5.15.2+dfsg-9
ii  libqt5gui5             5.15.2+dfsg-9
ii  libqt5webkit5          5.212.0~alpha4-11
ii  libqt5widgets5         5.15.2+dfsg-9
ii  libqt5xml5             5.15.2+dfsg-9
ii  libstdc++6             10.2.1-6
ii  udisks2                2.9.2-2+deb11u1
ii  wodim                  9:1.1.11-3.2

Versions of packages k3b recommends:
ii  dvd+rw-tools         7.1-14+b1
ii  growisofs            7.1-14+b1
ii  libk3b7-extracodecs  20.12.2-1
ii  vcdimager            2.0.1+dfsg-5

Versions of packages k3b suggests:
pn  k3b-extrathemes  <none>
pn  k3b-i18n         <none>
pn  kde-config-cddb  <none>
pn  movixmaker-2     <none>
pn  normalize-audio  <none>
pn  sox              <none>

-- no debconf information

Reply via email to