the itjerk

my adventures with technology

Monthly Archives: April 2019

cd burning on ubuntu 18.04lts

It’s not often anymore that I have to burn a CD-R, mostly when I want a CD for the car, or perhaps to give to a friend. Anyway, I opened up Brasero, clicked New Audio Project, added my files and went to burn the CD-R. Failed. Log showed the following:

BraseroWodim stderr: wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
BraseroWodim called brasero_job_get_flags
BraseroWodim stderr: wodim: Resource temporarily unavailable. Cannot get mmap for 16781312 Bytes on /dev/zero.
BraseroWodim called brasero_job_get_flags
BraseroWodim stdout: TOC Type: 0 = CD-DA
BraseroWodim stderr: HUP
BraseroWodim stdout: HUP
BraseroWodim process finished with status 11
BraseroWodim called brasero_job_error
BraseroWodim finished with an error
BraseroWodim asked to stop because of an error


Quick internet searched yield the following fix, giving “execute” rights to users, and that “4” means as root (setuid):

sudo chmod 4711 /usr/bin/wodim; sudo chmod 4711 /usr/bin/cdrdao

It’s not the first time I’ve had to “fix” something in Ubuntu to do a relatively mundane task, maybe not the last, either. Burn, baby burn!