[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: K3b fails to burn data CD



Did you add yourself to the group cdrom?


On October 2, 2025 7:44:15 AM PDT, Timothy M Butterworth <timothy.m.butterworth@gmail.com> wrote:


On Thu, Oct 2, 2025 at 3:07 AM Thomas Schmitt <scdbackup@gmx.net> wrote:
Hi,

Timothy M Butterworth wrote:
> I am trying to burn a data CD with K3b and I keep receiving the following
> error messages:
> cdrecord has no permission to open the device.

I am astonished that K3B from Debian tries to use cdrecord.
Shouldn't it try to use wodim ?
What do you get from:

  ls -l /usr/bin/cdrecord

lrwxrwxrwx 1 root root 5 Nov 15  2024 /usr/bin/cdrecord -> wodim

 

The problem with cdrecord is old and widespread.
People usually solved it by running K3B as superuser, or by setting the
setuid bit by chmod +s, or by finding the mentioned K3B settings.
See for example
  https://askubuntu.com/questions/287308/k3b-cdrecord-has-no-permission

It should be possible to replace cdrecord/wodim by cdrskin for the jobs
of data CD and audio CD recording.
That would be done in the settings where the binary helpers are chosen.
Eons ago that menu window was called "Setup External Programs" where
the binaries settings were accessible via button "Programs".
Currently the program in charge is probably "/usr/bin/cdrecord".


> tmb@hppavilion:~$ ls -l /dev/sr0
> brw-rw----+ 1 root cdrom 11, 0 Oct  1 20:15 /dev/sr0

I assume that

  getfacl /dev/sr0

will reveil that your desktop user has rw-permission.


> I ran:
> tmb@hppavilion:~$ sudo chmod 4711 /usr/bin/wodim
> tmb@hppavilion:~$ sudo chmod 4711 /usr/bin/cdrdao
> and now it works.

So your "cdrecord" is probably /usr/bin/wodim .
(Unclear whether by file link or by K3B configuration.)


Have a nice day :)

Thomas




Reply to: