LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 03-23-2009, 09:33 PM   #1
km4hr
Member
 
Registered: Aug 2003
Posts: 35

Rep: Reputation: 15
Only root can automount CD drive and USB thumb drive


Nothing happens when ordinary users plug in a USB thumb drive or insert a CD into CDROM drive. Works fine for root. After root mounts the drives then all users can use them. How can I enable mounting/unmounting by all users?
 
Old 03-23-2009, 11:09 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 12,691

Rep: Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687
what version of red hat are you running ?
 
Old 03-25-2009, 09:39 AM   #3
km4hr
Member
 
Registered: Aug 2003
Posts: 35

Original Poster
Rep: Reputation: 15
John VV,

I'm using CentOS 5. Don't know the exact version. The CD's were made about 3 months ago. I don't know how to find the exact version. There must be some command for that.
 
Old 03-25-2009, 12:30 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 12,691

Rep: Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687
knowing it is 5 is fine .
I was wondering if it was 5 .? , 4.? or the VERY OLD rh9
right at the moment i am in fedora and not Cent . I will look into it this afternoon .
it may be a service that is off .Or a udev rule needs to be edited .
on my setup they auto mount as r/w for a normal user ( well cd/dvd-+r read only)

--------- edit -------
just popped in a data dvd and got a icon on my desktop
OK check in your services
System / Administration / Services and see if " autofs" is running
for level 3,4,5
.If it is not there then install it ( yum install autosf ) and reboot
see if that solves it
if not then after you mount it as root take a look at /etc/mtab ( while it is mounted ) and look for the device
example: my dvd drive entry in mtab it
Code:
/dev/hdc /media/Personal\040Data,\040Jul\04029,\0402008 iso9660 rw,noexec,nosuid,nodev,uid=500 0 0
so my dvd is /dev/hdc
my cd drive is /dev/hdd

you can also get this info from "HAL Device Manager"
system/Administration/hardware
and put a check in "view/virtual Devices "
it will be in the list on the left side as a ide or usb device

if autofs dose not auto mount it you can use the above info to add a line to fstab for mounting on boot

Last edited by John VV; 03-25-2009 at 08:18 PM.
 
  


Reply


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
Using a usb thumb drive or flash drive as a swap partition. stevenjoseph Linux - Hardware 8 01-16-2012 12:09 PM
root can mount usb thumb drive but nobody else. why? km4hr Linux - Newbie 3 03-26-2009 12:02 PM
USB thumb drive won't automount hpladd Linux - Newbie 2 09-24-2008 08:43 AM
USB Thumb Drive WolfCub Linux - Hardware 18 03-01-2005 09:06 AM
USB drive using different partitions (usb key thumb drive) Arodef Linux - Hardware 0 08-04-2004 06:36 PM


All times are GMT -5. The time now is 02:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration