[LBo] Only root can mount (Suse 10)

grasshopper marigold.6352 at gol.com
Sun Jul 29 09:05:18 CEST 2007


On Sat, 2007-07-28 at 09:07 -0400, Anita Lewis wrote:
> On 07/26/2007 09:42 PM grasshopper wrote:
> > Recently I re-installed Suse 10 after having major overheating problems
> > with OpenSuse 10.2.
> > 
> > Now, when I want to run a CD I get, 'only root can mount /dev/cdrom
> > on/media'  I googled and I have gotten this far, but am stuck and don't
> > know what to do next.
> > 
> > Many thanks for any help
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > /dev/cdrom           /media/              subfs
> > noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
> 
> Question: When you "run a CD" do you just click on the icon on your
> desktop

I open Konqueror and click on the CD-ROM icon.
> 
> Let's get a little more information:
> 
> 1. What output do you get with this command:  ls -lh /dev/cdrom

grasshopper at linux:~> ls -lh /dev/cdrom
lrwxrwxrwx  1 root root 3 2007-07-28 18:36 /dev/cdrom -> sr0

It seems that only root has access.  I have just remembered that shortly
after the installation, I was able to play a CD.  I forgot to remove it
and after rebooting, something came up on the screen about  a CD.  I
ignored it and just removed it.  It was after that that I got the 
"only root..."

> 
> 2. If that is a link then do the same on the thing it is linked to. In
> my case it looks like this. I'm looking for the group for the device.
> Below you see that my /dev/cdrom links to scd1 and that has a group
> called "cdrom":
> 
> ajlewis2 at quietone:~$ ls -lh /dev/cdrom
> lrwxrwxrwx 1 root root 4 2007-07-27 14:14 /dev/cdrom -> scd1
> ajlewis2 at quietone:~$ ls -lh /dev/scd1
> brw-rw---- 1 root cdrom 11, 1 2007-07-27 14:14 /dev/scd1
> 
> 
> 3. What output do you get with the grep command on /etc/group using your
> username.  You can give just the first item in each line like "disk,
> dialout, fax, cdrom" For example, my username is ajlewis2 so I would do:
> grep ajlewis2 /etc/group

>From the grep command:

grasshopper at linux:~> grep grasshopper /etc/group
dialout:x:16:grasshopper
video:x:33:grasshopper

Again, no cdrom :(

Many thanks.

grasshopper

> 
> You can see from this that my user is a member of the cdrom group (along
> with disk, dialout, and fax).  That is good, because my /dev/cdrom
> (actually /dev/scd1) is using the group "cdrom". That means my user has
> access to it.
> 
> If you don't understand the explanation, it is ok.  I just wanted to
> explain why I asked the questions.  Now your mission, grasshopper, is to
> provide the answers. :-)
> 
> Anita
> 
> 
> 




More information about the QnA mailing list