Hi, D.R.Evans wrote: > I just discovered that, following the upgrade from bookworm to trixie on my > main desktop machine, when I try to write a hierarchy of data files to the > CD drive, k3b says: "Cdrecord [sic] has no permission to open the device". > > Unhelpfully, k3b doesn't tell me what is the name of the device it is trying > to open, nor what permission it (or cdrecord) lacks :-(
The mentioned "cdrecord" is probably wodim from package cdrkit. The device is possibly /dev/sr0 if it is the only optical drive that is attached to the computer. But suspiciously sudo wodim --devices talks of /dev/sg1, which on my Debian 12 is the generic SCSI device associated to /dev/sr0. The number after "sg" may be different on your system. Ask wodim. The needed permissions are rw. Normally these permissions are given to owner "root", group "cdrom", and by ACL to the desktop user. Inquire by sudo getfacl /dev/sr0 which on my Debian 12 with fvwm user "thomas" says: # file: dev/sr0 # owner: root # group: cdrom user::rw- user:thomas:rw- group::rw- mask::rw- other::--- and sgdev=/dev/sg1 sudo getfacl "$sgdev" which on my Debian 12 shows the same permissions as /dev/sr0. > Any suggestions as to what I might need to change? If the rw-permission for your user is missing, try username=...your.user.name... sudo setfacl -m user:"$username":rw /dev/sr0 sudo setfacl -m user:"$username":rw "$sgdev" It might be that some of the automats set the device permissions when the system starts up. It will be an adventure on its own to find the place where this is controlled. Have a nice day :) Thomas

