Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 09-08-2006, 05:38 AM   #1
LQ Newbie
Registered: Sep 2006
Location: Wisconsin
Distribution: Novell SUSE 10.1
Posts: 20

Rep: Reputation: 0
SUSE 10.1-burning data CDs and getting SUSE to see CD drive

Hi, I am a brand new linux user. If I open up My Computer, I can see all my drives, including my floppy drive, but not my CD drive. I know my PC knows I have a CD drive-because I installed SUSE from CDs. I have two, related questions: I'm happy that SUSE 10.1 comes with CD-writing tools.My questions: 1) What can I do to get it to "see" my CD drive? 2) I have an external Mitsumi recordable/re-writable drive. Can I somehow use that with my SUSE system? I'm a nervous about trying new things because of mistakes I've already made, I've had to reinstall SUSE about 3 times! Thanks for any help anyone can provide!
Old 09-08-2006, 07:53 AM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
There's nothing wrong with reinstalling the operating system when things get messed up. When I stared with Linux I would reinstall the operating system frequently. Knowing that you can do that gives you a way out if you break stuff. You can do a lot of experiments and then reinstall the operating system.

Regarding the CD access problem I would look at the permissions settings on /dev/cdrom.

$ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 2006-09-05 19:23 /dev/cdrom -> hdc
$ ls -l /dev/hdc
brw-rw----+ 1 root disk 22, 0 2006-09-05 19:23 /dev/hdc
Here you can see that /dev/cdrom is just a link to /dev/hdc. Links cannot restrict access. They always have 777 as their permission setting. They simply pipe access to another file. The permissions on the file that the link points to will control access to the actual file. We already established that the link points to /dev/hdc. The permission settings on that file will control access to the CD drive. We can see that /dev/hdc is owned by the user account "root" and the user group "disk". The group permission setting on /dev/hdc is rw. This will allow any user account that belongs to the disk group to have read/write access to /dev/hdc.

Now check the group membership of the user account that you want to use to access the CD.

$ groups
users disk lp audio video
You can see that the user account belongs to the disk group among others. Membership in the disk group provides permission to use the CD drive. In practice this user account is able to burn CDs and DVDs, play music CDs, and is fully capable of using the CD/DVD drive.

So that's the first thing to check.

If this is the problem then you can add your user account to the disk group by using the usermod command. This command is a bit primitive. When we add the disk group to the user account record we will also have to repeat all of the other user groups that the user account already belongs to.

1) Log in to the root account.

2) See what groups the normal user account already belongs to.

3) Use the usermod command to add the disk group to the user account record.

If the normal user account is named "myaccount" then this would be the procedure.

root> groups myaccount
myaccount : users lp audio video
root> usermod -G disk,lp,audio,video myaccount
root> groups myaccount
myaccount : users disk lp audio video
Note that you do not have to repeat the membership in the "users" group. That is because "users" group is the primary account group. In the usermod command we are only changing membership in secondary user accounts. This is controlled by the -G parameter in the usermod command.

More information about the usermod command can be found using usermod --help.

Last edited by stress_junkie; 09-08-2006 at 08:14 AM.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Burning CDs w/SuSE & IDE CDRW tmeehan SUSE / openSUSE 7 09-03-2005 07:17 AM
burning Windows-friendly multisession Data CDs in K3B Mugatu Linux - Software 0 09-15-2004 11:10 AM
Burning Data and Iso Cds on Fedora wasabi Fedora 6 06-13-2004 02:58 AM
cdrecord causes hard crash (SuSE 7.3) writing data CDs tobythelard Linux - Software 6 11-24-2002 03:42 PM
Burning 11 gigs of SuSE to cds? val Linux - Software 8 05-14-2001 10:04 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:50 PM.

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