LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-06-2003, 06:24 PM   #1
king8
LQ Newbie
 
Registered: Sep 2003
Location: Burien, WA
Distribution: RH9
Posts: 12

Rep: Reputation: 0
Want regular user to have memory stick mounting rights


Hello,

I just aquired a cool ms usb reader but I can oly mount it as root, do you guys know how to enable mounting for regular users also? this is my fstab:

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/hdb4 /mnt/zip auto noauto,owner,kudzu 0 0

/dev/sda1 /mnt/ms auto noauto,owner,kudzu 0 0 <=== this is the mem stick

/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
 
Old 11-06-2003, 07:02 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Firstly, I would remove the 'kudzu' entry, and add 'users' there instead.

Here's the line from my fstab:
Code:
/dev/sdb1 /mnt/reader auto users,noauto 0 0
Works a treat.
 
Old 11-06-2003, 07:57 PM   #3
king8
LQ Newbie
 
Registered: Sep 2003
Location: Burien, WA
Distribution: RH9
Posts: 12

Original Poster
Rep: Reputation: 0
sweetta!

Awsome it worked,

I swear my fstab is tempermental, I added the 'sda' line to it because it wasn't in there before. Sometimes when I go to mount it by typing "mount /mnt/ms" it says its not in fstab. I go and check and the entry is GONE, also the dir I made in /mnt/ is disapeared and I have to manually add the line and the mount dir again? any sugestions, atleast I can mount it as a regular user now!
 
Old 11-10-2003, 06:31 PM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
If you originally let RedHat sort it out for you automagically when you plug the device in, then the fstab entry would have contained 'kudzu' in the options section (after noauto). The kudzu option tells the hotplug daemon to remove the device, the mountpoint and the fstab entry when no longer needed.
 
  


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
Missing memory in USB stick, flash memory, removable hd etc bamboo_spider Linux - Newbie 3 06-14-2006 05:39 PM
Mounting Memory Stick from Sony P800 on linux atze Linux - Hardware 0 07-06-2004 05:13 AM
Mounting USB 2.0 JetFlash memory stick causes hang detly Linux - Hardware 7 05-25-2004 02:33 AM
Squid proxy with user authentication and user rights duvanhorn Linux - Networking 0 08-07-2003 03:40 AM
memory stick / CF memory card reader X-dazed Linux - Newbie 1 01-21-2003 12:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:58 PM.

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