-   Linux - Software (
-   -   CD burning problem (

varaahan 08-17-2007 08:02 AM

CD burning problem
In absolute linux , when I tried to burn an iso image, I got the error msg
"cdrecord has no permission to open the device".
How to correct this ?

otoomet 08-17-2007 08:16 AM

I am not sure about absolute linux, but perhaps you have to have suitable permissions? In debian, you have to give the user permission to use the cd drive. Check it!

varaahan 08-17-2007 08:17 AM

The fstab has users,auto options for cd drive.

otoomet 08-17-2007 08:34 AM

In debian, if you look at user properties in gnome, there is something like "may use cd-rom drive" or something like that. You have to check this option, AFAIR.

Basically, you should find out which groups there exist. The easiest way were to use the grphical utilities of a modern desktop environment (something like "users and groups" in the "configure" menu in gnome). Several linux distros, including debian (no idea about absolute) limit the use of peripherials to members of certain groups. Make yourself memeber of relevant groups.


mlitty 08-17-2007 01:39 PM

I'm also a debian/Ubuntu user, so I'm not exactly sure how absolute linux manages user permissions. It's more than the way fstab mounts drives, especially since a blank disk isn't really mounted (I'm pretty sure), so fstab wouldn't affect burning.

Usually this has to do with the permissions set on the devices in /dev. For instance, if your burner is /dev/hdc (Secondary IDE, Master), then the device /dev/hdc has a user and group owner and some permissions. Mine look like this.

brw-rw---- 1 root cdrom 22, 0 2007-08-17 12:34 /dev/hdc

So in my system, root owns the burner and can read/write (the first rw). The group cdrom also has permissions to read/write (the second rw). The last three dashes in the "brw-rw----" are the "other" permissions. This is what everyone who is not root and not in the cdrom group can do. In this case, they can't do anything.

Since I don't want to run all of the time as root, I had to make sure that my user account in in the cdrom group so that I can use the optical drives. The User/Group settings interface/GUI is the easiest way to do this. My Ubuntu uses Gnome as a desktop, but KDE and XFCE also have User/Group management GUI tools.

In Gnome, it's under System>Administration>Users and Groups. I think it's also in the Gnome Control Panel, or wherever the main settings are for your system. Under users, check either the permissions or group memberships for your user, and make sure you're in the one that has permissions for your optical drives.

On most systems, your optical drives are either /dev/hdb (Primary IDE, Slave), /dev/hdc (Secondary IDE, Master), or /dev/hdd (Secondary IDE, Slave). You can see who owns them and their permissions, as seen on mine above, by going to a terminal and typing

ls -l /dev/hdb /dev/hdc /dev/hdd
root probably owns the devices, but look at the next name, the group name, and make sure you're in it.
if you want to see what groups you are currently a member of, go to a terminal and type

groups username
where username is your username. ;)

Let us know how this works out.

varaahan 08-19-2007 07:39 AM

See the following output:

root: /home/sridhar > ls -l /dev/hdc
brw-rw---- 1 root cdrom 22, 0 2007-08-19 23:22 /dev/hdc
root: /home/sridhar > chmod 777 /dev/hdc
root: /home/sridhar > ls -l /dev/hdc
brwxrwxrwx 1 root cdrom 22, 0 2007-08-19 23:22 /dev/hdc
root: /home/sridhar > groups sridhar
users disk audio video cdrom haldaemon
root: /home/sridhar >

Still I get "cdrecord has no permission to open the device"

I am perplexed.

mlitty 08-19-2007 10:31 PM

I see you've also posted at the Absolute Linux Forums. I was going to suggest that, as this seems distro specific. At least, I've not hat this issue in a long while. I do remember that KDE has some utility to fix the permissions for Optical Burning. I think it was a utility with K3b, but I'm not sure what it was.... I'm not in my linux system right now, so I can't go look it up, but if you do a package search for k3b, there should be something there that describes setup or config or something like that.

You could also try a different cd burning program to see if it's an issue with a particular program or with the user account. It's a bit beyond me, but I think programs get permissions similar to users. It could be that the program your burning with is messed up in it's permissions. Some good programs are K3B, GnomeBaker, Brasero.

There's a decent article on the Gnome burners at

If security isn't an issue, you could try the suid trick suggested in the other forum. Though I would suggest finding a more secure solution.

sadiqdm 11-16-2007 08:55 AM

Found the same problem today - K3B, KDE 3.5.7, Suse 10.2. It was all working fine about a week ago. Since then there have been some security updates, including k3b.

I had a look at the permissions for my cd-writer on /dev/hdc, and found:

brw-rw----+ 1 root disk 22, 0 Nov 16 12:27 hdc
Opened YaST and went to User Management, and added myself to the "disk" group. Re-booted and all came good again. The security update must have changed the way the permissions work.

varaahan 11-16-2007 07:44 PM


All times are GMT -5. The time now is 07:18 AM.