LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-21-2002, 09:30 PM   #1
burzmali
Member
 
Registered: Jan 2002
Distribution: gentoo
Posts: 68

Rep: Reputation: 15
cd-rom access for users


hello,
i have shortcuts to my cd-rw and dvd-rom drives on my root desktop and they work great. but i cannot seem to do the same on my user desktop. i make a new cd-rom device and do everything just like i did for my root account, but when i try to use the new shortcut i get a generic error about not being able to mount the drive. it says it cannot determine fs or there are too many mounted drives. if i mount the drives as root and then log in as user i can view them, but if i unmount them and then try to mount them again as a user i get the error. any ideas? thanks
 
Old 01-21-2002, 09:57 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
it's the permissions on the file /dev/hdc or whatever you use as a /dev name.

to find out do this

ls -l /dev/cdrom (or what yours is)
lrwxrwxrwx 1 root root 8 Nov 27 00:20 /dev/cdrom -> /dev/hdc

then check the linked file
ls -l /dev/hdc
brw------- 1 david disk 22, 0 Aug 30 15:30 /dev/hdc

note the owner group and permissions of the file



you could have root as the owner if you don't want all users to access it and change its group, then add allowed users to the new group. and give the group access


or use chmod 666 to give everyone access
depends on your security issues

chmod 666 /dev/hdc

ls -l /dev/hdc
brw-rw-rw- 1 david disk 22, 0 Aug 30 15:30 /dev/hdc

Last edited by DavidPhillips; 01-21-2002 at 10:11 PM.
 
Old 01-21-2002, 10:40 PM   #3
burzmali
Member
 
Registered: Jan 2002
Distribution: gentoo
Posts: 68

Original Poster
Rep: Reputation: 15
i just tried all that and it was no go. this is very frustrating.
 
Old 01-21-2002, 10:50 PM   #4
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Try adding user to your fstab file.

Ex.:

/dev/cdrom /mnt/cdrom iso9660 user,noauto,ro,exec,unhide 0 0
 
Old 01-21-2002, 10:54 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
yea, that's exactly what my fstab looks like too.

can you mount it something like this?


mount /dev/cdrom -t iso9660 /mnt/cdrom

Last edited by DavidPhillips; 01-21-2002 at 10:55 PM.
 
Old 01-22-2002, 02:27 AM   #6
burzmali
Member
 
Registered: Jan 2002
Distribution: gentoo
Posts: 68

Original Poster
Rep: Reputation: 15
thank you! that fixed it.
 
Old 01-22-2002, 07:16 PM   #7
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You're welcome.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do you access the cd rom drive masterofdemons50 Linux - Newbie 3 07-14-2005 10:32 AM
Samba access by Windows users locking out directory access with Konqueror harry_fine SUSE / openSUSE 1 12-18-2004 05:33 AM
CD Rom cant access jjreid Linux - Software 8 03-23-2004 06:55 PM
unable to access CD Rom: Mandrake 9.1 shamus Linux - Hardware 11 08-31-2003 12:54 PM
CD Rom , no access rights TazLinux Linux - General 3 02-19-2003 09:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:20 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