View previous topic :: View next topic |
Author |
Message |
kikinovak Guest
|
Posted: Sat Aug 24, 2002 11:31 am Post subject: Create a CD-ROM device on KDE desktop as a user? |
|
|
Hi,
I want to have access to my CD-ROM as a user under KDE. What I do: right-click on the desktop, then choose "Create new CD-ROM device". A CD icon appears on my desktop. I edit the Properties so that it is mounted as /dev/cdroms/cdrom0 on /mnt/cdrom (as it appears in /etc/fstab).
Problem: when I click on it (to mount), I get the message that only root can mount the cd (or anything else).
Question1: I guess I must add the user (kikinovak, same as here) as root to a certain group, is it? Correct me if I'm wrong.
Question2: HOW do I add a user to a group? I tried
Code: | # adduser kikinovak cdrom |
... but that won't work.
Thanks,
Niki |
|
Back to top |
|
|
Beattie Apprentice
Joined: 24 Jun 2002 Posts: 155
|
Posted: Sat Aug 24, 2002 12:52 pm Post subject: |
|
|
usermod -G [groupname] [username] |
|
Back to top |
|
|
kikinovak Guest
|
Posted: Sat Aug 24, 2002 1:16 pm Post subject: |
|
|
Thanks, that worked for (2). But (1) is still unresolved.
My user kikinovak is a member of the following groups: users,disk,cdrom,wheel,floppy,dialout,video. (I chose what seemed familiar and/or reasonable)
But still, he's not allowed to mount the CD-ROM. "Only root can mount".
Now what?
|
|
Back to top |
|
|
Danielb n00b
Joined: 07 Aug 2002 Posts: 16 Location: Madrid (Spain)
|
Posted: Sat Aug 24, 2002 3:07 pm Post subject: |
|
|
You have to edit /etc/fstab and add "user" to the cd mounting options.
/dev/sr0 /mnt/cdrom iso9660 noauto,ro,user 0 0 |
|
Back to top |
|
|
kikinovak Guest
|
Posted: Sat Aug 24, 2002 4:20 pm Post subject: |
|
|
Bingo. Thanks.
Niki |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|