Unix Technical Forum

cdrom permissions

This is a discussion on cdrom permissions within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I am trying to use Kaudiocreator to rip, but I can do it only being root. Unfortunately Kaudiocreator does ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 02:11 PM
Filippo
 
Posts: n/a
Default cdrom permissions

I am trying to use Kaudiocreator to rip, but I can do it only being root.
Unfortunately Kaudiocreator does not give me any error message, not even if
I launch it from the konsole.
I suspect some permissions problem, but I don't know where else to look. So
far, everything looks ok:

fil@box:~$ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 8 2006-01-12 13:36 /dev/cdrom -> /dev/sr0
fil@box:~$ ls -l /dev/sr0
brw-rw-rw- 1 root cdrom 11, 0 1999-04-13 06:24 /dev/sr0
fil@box:~$ groups
users audio video cdrom burning

I use Slackware 10.2

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 02:11 PM
Niki Kovacs
 
Posts: n/a
Default Re: cdrom permissions

Filippo wrote:

> I am trying to use Kaudiocreator to rip, but I can do it only being root.
> Unfortunately Kaudiocreator does not give me any error message, not even
> if I launch it from the konsole.
> I suspect some permissions problem, but I don't know where else to look.
> So far, everything looks ok:


Which kernel do you use? 2.4? 2.6 with/without udev?

Niki
--
I'm not as think as you stoned I am.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 02:11 PM
Filippo
 
Posts: n/a
Default Re: cdrom permissions

Niki Kovacs wrote:

> Which kernel do you use? 2.4? 2.6 with/without udev?
>
> Niki


2.4 (bare.i that comes with slack 10.2), and I am not familiar with udev
(sorry).

anyway if I type ude + [tab] I get this:

bash-3.00# udev
udev udevcontrol udevsend
udev_run_devd udevd udevstart
udev_run_hotplugd udevinfo udevtest

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 02:12 PM
Niki Kovacs
 
Posts: n/a
Default Re: cdrom permissions

Filippo wrote:

>
> 2.4 (bare.i that comes with slack 10.2), and I am not familiar with udev
> (sorry).
>
> anyway if I type ude + [tab] I get this:
>
> bash-3.00# udev
> udev udevcontrol udevsend
> udev_run_devd udevd udevstart
> udev_run_hotplugd udevinfo udevtest


Udev only concerns you when you run a 2.6 kernel (which I strongly recommend
for desktop use).

I remember having had the same problem with Kaudiocreator. I also vaguely
remember something about /dev/sr0 AND /dev/sg0, as well as a chmod 666 to
make it run correctly. This kind of details (rarely) make me miss OS X...
(half-joking, but only half).

Cheers,

Niki
--
I'm not as think as you stoned I am.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 02:12 PM
psyops
 
Posts: n/a
Default Re: cdrom permissions

On Tue, 24 Jan 2006 21:19:26 +0100, Niki Kovacs wrote:

> Filippo wrote:
>
>>
>> 2.4 (bare.i that comes with slack 10.2), and I am not familiar with udev
>> (sorry).
>>
>> anyway if I type ude + [tab] I get this:
>>
>> bash-3.00# udev
>> udev udevcontrol udevsend
>> udev_run_devd udevd udevstart
>> udev_run_hotplugd udevinfo udevtest

>
> Udev only concerns you when you run a 2.6 kernel (which I strongly recommend
> for desktop use).
>
> I remember having had the same problem with Kaudiocreator. I also vaguely
> remember something about /dev/sr0 AND /dev/sg0, as well as a chmod 666 to
> make it run correctly. This kind of details (rarely) make me miss OS X...
> (half-joking, but only half).
>
> Cheers,
>
> Niki


I've also had this problem. under root chmod 755 /dev/hdx <---which ever
ide device that the cdrom resides on. and within kaudiocreator change the
device to /dev/hdx in the drop down menu instead of the sym link thats
usually there (/dev/cdrom ..etc)

ps ------- I just reread your post. change /dev/hdx with /dev/sr0 in the
example above.

-psyops

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 02:12 PM
Filippo
 
Posts: n/a
Default Re: cdrom permissions

psyops wrote:

>> I remember having had the same problem with Kaudiocreator. I also vaguely
>> remember something about /dev/sr0 AND /dev/sg0, as well as a chmod 666 to
>> make it run correctly. This kind of details (rarely) make me miss OS X...
>> (half-joking, but only half).
>>
>> Cheers,
>>
>> Niki

>
> I've also had this problem. under root chmod 755 /dev/hdx <---which ever
> ide device that the cdrom resides on. and within kaudiocreator change the
> device to /dev/hdx in the drop down menu instead of the sym link thats
> usually there (/dev/cdrom ..etc)
>
> ps ------- I just reread your post. change /dev/hdx with /dev/sr0 in the
> example above.


I have tried all these things, but without success
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 02:12 PM
Genome
 
Posts: n/a
Default Re: cdrom permissions


"Filippo" <no.spam@here.ok> wrote in message
news:43d61cc1$0$1145$5402220f@news.sunrise.ch...
> I am trying to use Kaudiocreator to rip, but I can do it only being root.
> Unfortunately Kaudiocreator does not give me any error message, not even

if
> I launch it from the konsole.
> I suspect some permissions problem, but I don't know where else to look.

So
> far, everything looks ok:
>
> fil@box:~$ ls -l /dev/cdrom
> lrwxrwxrwx 1 root root 8 2006-01-12 13:36 /dev/cdrom -> /dev/sr0
> fil@box:~$ ls -l /dev/sr0
> brw-rw-rw- 1 root cdrom 11, 0 1999-04-13 06:24 /dev/sr0
> fil@box:~$ groups
> users audio video cdrom burning
>
> I use Slackware 10.2
>


I know bugger all because I am just beginning but I'd guess that if you
added your other (non-root) login to the group 'cdrom' then it wouldn't work
either.......?

You might just be a member of 'users'......


DNA


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 02:13 PM
micke
 
Posts: n/a
Default Re: cdrom permissions

Filippo wrote:

> psyops wrote:
>
>>> I remember having had the same problem with Kaudiocreator. I also
>>> vaguely remember something about /dev/sr0 AND /dev/sg0, as well as a
>>> chmod 666 to make it run correctly. This kind of details (rarely) make
>>> me miss OS X... (half-joking, but only half).
>>>
>>> Cheers,
>>>
>>> Niki

>>
>> I've also had this problem. under root chmod 755 /dev/hdx <---which ever
>> ide device that the cdrom resides on. and within kaudiocreator change the
>> device to /dev/hdx in the drop down menu instead of the sym link thats
>> usually there (/dev/cdrom ..etc)
>>
>> ps ------- I just reread your post. change /dev/hdx with /dev/sr0 in the
>> example above.

>
> I have tried all these things, but without success


Have you done this as 'root'? If you chmode 666 /dev/sr0 it should work (as
niki wrote) IF you have 666 on /dev/cdrom and /dev/cdrom IS linked
to /dev/sr0. If it works if you are logged in as root then this steps
should make it work if you are logged in as another user.
If it still doesn't work check witch group /dev/cdrom belongs to, then make
your user a member of this group. Or change the ownership of /dev/cdrom to
your fittings.

/Micke

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 02:13 PM
Filippo
 
Posts: n/a
Default Re: cdrom permissions

micke wrote:

>> I have tried all these things, but without success

>
> Have you done this as 'root'? If you chmode 666 /dev/sr0 it should work
> (as niki wrote) IF you have 666 on /dev/cdrom and /dev/cdrom IS linked
> to /dev/sr0. If it works if you are logged in as root then this steps
> should make it work if you are logged in as another user.
> If it still doesn't work check witch group /dev/cdrom belongs to, then
> make your user a member of this group. Or change the ownership of
> /dev/cdrom to your fittings.


fil@box:~$ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 8 2006-01-12 13:36 /dev/cdrom -> /dev/sr0
fil@box:~$ ls -l /dev/sr0
brw-rw-rw- 1 root cdrom 11, 0 1999-04-13 06:24 /dev/sr0
fil@box:~$ groups
users audio video cdrom burning

Now I have added my user to the group "root", but it still doesn't work

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 02:13 PM
micke
 
Posts: n/a
Default Re: cdrom permissions

Filippo wrote:

> micke wrote:
>
>>> I have tried all these things, but without success

>>
>> Have you done this as 'root'? If you chmode 666 /dev/sr0 it should work
>> (as niki wrote) IF you have 666 on /dev/cdrom and /dev/cdrom IS linked
>> to /dev/sr0. If it works if you are logged in as root then this steps
>> should make it work if you are logged in as another user.
>> If it still doesn't work check witch group /dev/cdrom belongs to, then
>> make your user a member of this group. Or change the ownership of
>> /dev/cdrom to your fittings.

>
> fil@box:~$ ls -l /dev/cdrom
> lrwxrwxrwx 1 root root 8 2006-01-12 13:36 /dev/cdrom -> /dev/sr0
> fil@box:~$ ls -l /dev/sr0
> brw-rw-rw- 1 root cdrom 11, 0 1999-04-13 06:24 /dev/sr0
> fil@box:~$ groups
> users audio video cdrom burning
>
> Now I have added my user to the group "root", but it still doesn't work


You should try adding your user to the group cdrom (owner is root), since
that is the group that /dev/cdrom belongs to. If not even that helps then
it must be somewhere else there is an error. Since it should help giving
everyone the rights rw to /dev/sr0.Wich other groups are your user a member
of? If you put in a music cd in the cdplayer and starts Kaudiocreator, what
response do you get? You said that you don't get any error msg, but you
should get something else.

Micke
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:20 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com