LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   cd drive: permission denied (https://www.linuxquestions.org/questions/slackware-14/cd-drive-permission-denied-253833/)

aje 11-11-2004 07:34 PM

cd drive: permission denied
 
I am trying to play a cd through my CDROM drive and I am told that I do not have access to the drive. "Permission denied" is what i'm told. how can I get around this?

And also when I try to use k3b, I am getting the "cdrecord does not run with root priviledges" message, along with the "cdrdao does not run with root priviledges" Ive searched for this problem but I'm yet to find a a solution.

Can anyone help me with either of these problems?

Samsara 11-11-2004 07:46 PM

Your user probably has to be member of a group that are allowed access to the drive. I don't recall what the commands for changing user assignments are called right now, probably something like chgrp or chgroup (this isn't a unix box).

HTH,

Samsara

rotvogel 11-11-2004 08:18 PM

Add the username to the cdrom group. You can edit /etc/group for that.

The k3b problem can be solved by running k3b setup from the settings menu item. Fill in the burning group (cdrom) and the program will take care of changes to cdrecord/cdrdao files. Notice: using a recent 2.6.x kernel will break burning as a normal user.

kodon 11-11-2004 08:30 PM

Quote:

Notice: using a recent 2.6.x kernel will break burning as a normal user.
i don't have any problems burning as user under 2.6.6

aje 11-11-2004 08:33 PM

Quote:

Originally posted by rotvogel
Add the username to the cdrom group. You can edit /etc/group for that.

The k3b problem can be solved by running k3b setup from the settings menu item. Fill in the burning group (cdrom) and the program will take care of changes to cdrecord/cdrdao files. Notice: using a recent 2.6.x kernel will break burning as a normal user.

I'm in my /etc/group right now. I see the line for "cdrom". it's currently set to 19, what should I change it to?

I used k3b setup and started to rip a CD. It closed shortly after beginning, for encountering a SIGABRT.

rotvogel 11-11-2004 08:50 PM

Do not change the 19, just add your username after the cdrom::19:
You'll have to logout/login again to make the changes have effect.

What the cause of this error is I do not know.

kodon: kernels 2.6.8.1 and 2.6.9 have troubles running programs suid. cdburning is an application which runs suid.


All times are GMT -5. The time now is 10:42 AM.