[LBo] Only root can mount (Suse 10)
Anita Lewis
a.lewis at linuxbasics.org
Sat Jul 28 15:07:12 CEST 2007
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?
Let's get a little more information:
1. What output do you get with this command: ls -lh /dev/cdrom
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
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://LinuxBasics.org/pipermail/qna/attachments/20070728/6b14e883/attachment.pgp
More information about the QnA
mailing list