Since re-installing 18.04.1, I cannot burn cds (or dvds). I have set up my account to use cd-rom drives, and am a member of the root group. This happens with both Brasero and K3b. The error msg on K3b is to the effect that it does not have permission to burn discs.
The same thing happens on a different 18.04 computer as well. I am the owner of the files I want to burn. I tried to chown /dev/sr0 so that I am the owner, but that did not change anything.
NO! Burning CDROM works fine here. You have another problem if you have to run those files as root. Making /usr/bin/wodim and /usr/bin/cdrao setuid root is a security risk and breaks a great many other things in Linux. You are basically giving cdrdao permission to write all over everything on your system, CDROM , DISK, Network, Screen, etc..... You do not want to allow that permission. A crash with /usr/bin/cdrao will trash your system. That is why only users in group cdrom can use cdrao to write to the cdrom.
You don't want your user to be a member of the root group. Making your user a member of the root group breaks stuff too.
I understand your point completely, but I cannot burn cds on both of my Ubuntu 18.04 computers, so really have no other choice.
I double-checked to make sure that I am a member of the cdrom group, but still no joy without changing the permission of those two system files. I logged out and back in, and even re-started, all in vain.
BTW, one of the computers had a fresh install of 18.04.1 a short while ago, so I do not have any idea why simply making myself a member of the cdrom group is not working.
The problem must be with PAM security then. PAM messages are in “/var/log/auth.log”.
I do note that the authors of K3b have a 9 year old doc concerning permission problems:
I do not know if any of that doc applies to current Linux.
Sorry you are having a problem. Tracking down the source of the permission problem will be difficult unless one of the system logs, /var/log/syslog or /var/log/auth.log, have something useful. The next step would be doing simulated burns with wodim or cdrdao and looking through the debug output. Honestly, that is probably not worth doing unless you start to have permission problems with other devices and programs.
Thanks very much for the info and assistance, Dave. Greatly appreciated!
But the same exact problem also occurs with Brasero, so it is most likely not a PAM problem. And in 18.04 there is no /etc/security/console.perm
So unless some weird things start happening, I will leave the permissions changed for wodim and cdrdao.