Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Create a CD-ROM device on KDE desktop as a user?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
kikinovak
Guest





PostPosted: Sat Aug 24, 2002 11:31 am    Post subject: Create a CD-ROM device on KDE desktop as a user? Reply with quote

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
Apprentice


Joined: 24 Jun 2002
Posts: 155

PostPosted: Sat Aug 24, 2002 12:52 pm    Post subject: Reply with quote

usermod -G [groupname] [username]
Back to top
View user's profile Send private message
kikinovak
Guest





PostPosted: Sat Aug 24, 2002 1:16 pm    Post subject: Reply with quote

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
n00b


Joined: 07 Aug 2002
Posts: 16
Location: Madrid (Spain)

PostPosted: Sat Aug 24, 2002 3:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
kikinovak
Guest





PostPosted: Sat Aug 24, 2002 4:20 pm    Post subject: Reply with quote

Bingo. Thanks.

Niki
Back to top
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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