View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 03-23-2009, 10:33 PM   #1
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-24-2009, 12:09 AM   #2
John VV
LQ Muse
Registered: Aug 2005
Posts: 15,634

Rep: Reputation: Disabled
what version of red hat are you running ?
Old 03-25-2009, 10:39 AM   #3
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, 01:30 PM   #4
John VV
LQ Muse
Registered: Aug 2005
Posts: 15,634

Rep: Reputation: Disabled
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
/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"
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 09:18 PM.


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

All times are GMT -5. The time now is 12:30 AM.

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