[LBo] Only root can mount (Suse 10)

grasshopper marigold.6352 at gol.com
Sun Jul 29 17:04:20 CEST 2007


On Sun, 2007-07-29 at 10:31 -0400, Anita Lewis wrote:
> On 07/29/2007 09:23 AM grasshopper wrote:
> > On Sun, 2007-07-29 at 07:03 -0400, Anita Lewis wrote: 
> >> On 07/29/2007 03:05 AM grasshopper wrote:
> >>
> >>> grasshopper at linux:~> ls -lh /dev/cdrom
> >>> lrwxrwxrwx  1 root root 3 2007-07-28 18:36 /dev/cdrom -> sr0
> > 
> 
> > grasshopper at linux:~> ls -lh /dev/sr0
> > brw-rw----+ 1 grasshopper disk 11, 0 2007-07-29 20:56 /dev/sr0
> > 
> 
> > I'm not sure I understand the above.  Should I make 'user' also part of the /etc/group?
> > 
> > grasshopper at linux:~> grep grasshopper /etc/group
> 
> > cdrom:x:20:grasshopper
> 
> > I went into Yast and added cdrom, and I think everything is in order, though I still get the 'only root....'
> > so should I go into the /etc/group file and change it there?
> 
> Hmmm.  Actually, the group is "disk" and that is what you should add
> rather than cdrom.  But "grasshopper" is the owner and should be able to
> use that drive. It looks like you shouldn't have to do any changes with
> group.
> 
> I wonder if you have edited /etc/fstab and not kept that /dev/cdrom line
> as a continuous line.  There cannot be a new line at the end.  It must
> be one whole line.  I notice that you asked about using kate to edit it.
>   It's hard to tell on what you sent in your first email because of the
> wrapping.  Make sure it is all on one line with kate:
> 
> gksu kate /etc/fstab
> 
> Look at that line to be sure it is all on one line.  If it isn't, then
> bring that second line up so that it is:
> 
> /dev/cdrom           /media/              subfs
> noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
> 
> Anita
> 
Anita, I've checked it and it is one continuous line.  I was mixing up
the /etc/fstab with the grep grasshopper /etc/group.  I think it might
be a bug in Suse.  In OpenSuse there is no mounting/umounting
thankfully :)

Many thanks.

grasshopper



More information about the QnA mailing list