LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-01-2008, 06:46 AM   #1
sanatkrtiwari86
LQ Newbie
 
Registered: Dec 2008
Location: gandhinagar,India
Posts: 8

Rep: Reputation: 0
when i use right click and then choose eject button eject: unable to open `/dev/hda'


hi,
i am using frdora core3 as my pc is not compatible with some higher versions.
i have two problems.
1.when i use to mount a cd and at desktop going to cd icon use right click and press eject button,the icon use to remove fron desktop but cd not ejected.although it use to ejected when a cd is burnt.will anyone give the solution as i am quite new..just learning things.

2.hwen i use to write a cd from my user name i use to get an error:

K3b did not find a suitable writer. You will only be able to create an image.

but i use to do it through root then i got succeed .why i am unable to do so with my user name.
 
Old 12-01-2008, 08:24 AM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
Your normal user does not have permissions on the cdrom or the mount command. I'm not sure about mount, but for the cd writing thing, look up what groups are on your machine:

Code:
getent passwd
and see is there a cdrom group, or something similar. Then add your normal user to this group, and you're sorted.
 
Old 12-01-2008, 11:11 AM   #3
sanatkrtiwari86
LQ Newbie
 
Registered: Dec 2008
Location: gandhinagar,India
Posts: 8

Original Poster
Rep: Reputation: 0
how to add normal user to cd rom permission

Quote:
Originally Posted by irishbitte View Post
Your normal user does not have permissions on the cdrom or the mount command. I'm not sure about mount, but for the cd writing thing, look up what groups are on your machine:

Code:
getent passwd
and see is there a cdrom group, or something similar. Then add your normal user to this group, and you're sorted.
thanks for last information ,but as i am quite new,will you please tell me how to add normal user to permission
the only related thing i got by using getent passwd command related to cd/dvd is as follows:

radvd:x:75:75:radvd user:/:/sbin/nologin
 
Old 12-02-2008, 05:10 AM   #4
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
Ok, try this. As normal user (not root) type

Code:
groups
This will show you what groups your normal user is a part of.

Now, try this, again as a normal user:

Code:
nano /etc/groups
This file will show you the groups structure on your machine. There most likely is one called 'cdrom'

On an ubuntu machine, you do the following to add a user to a group:

Code:
sudo adduser <user> <group>
It's a long time since I worked with Fedora, can't remember exactly how to add user to group, but search on this forum.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Eject CD/DVD Media using Eject Button - Hal/Udev help v00d00101 Linux - Hardware 4 03-17-2008 03:04 PM
Unmount and Eject with CD-Rom Eject Button? CrownAmbassador Linux - Hardware 3 12-26-2006 08:45 PM
VCD does not eject even eject button pressed ic_torres Linux - Software 4 12-01-2005 05:40 PM
eject -v says "unable to open /dev/hdc" Simon Bridge Slackware 2 11-05-2005 01:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration