LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-27-2009, 06:47 PM   #1
vsumanth10
LQ Newbie
 
Registered: Sep 2009
Posts: 8

Rep: Reputation: 0
Question Unable to write to a automounted USB drive by a normal user.


Hi,

I have this requirement of automounting USB drives in RHEL 5.2 64 bit machine whenever a normal user plugs in and be able to write to it. I have been able to satisfy the below requirements except the 1st and the 5th one with the default rule set which comes along with udev - 50-udev.rules. The USB automounts in read only mode and only root have write permissions to it. By default, the USB's are always mounted to /media/disk. I even went through the udev man pages and several forms but couldn't find a solution. Any help over this is highly appreciated.

1. must mount the usb drive and be writable by the console user
2. must not be writable be non-console users. (preferably not readable, either).
3. Must open a window when the drive is inserted and the drive should appear on the gnome desktop.
4. Must allow the user to umount the drive by right-clicking the drive icon on the desktop.
5. Optionally, it should mount the drive using the name of the drive as shown in the drive properties dialog on Windows.



Regards,
Sumanth
 
Old 09-27-2009, 07:15 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
I'm not certain, but I think your udev rule needs MODE="0660" to give root and users read-write access.
 
Old 09-27-2009, 11:32 PM   #3
vsumanth10
LQ Newbie
 
Registered: Sep 2009
Posts: 8

Original Poster
Rep: Reputation: 0
I have given MODE="0664" in udev rules.. Still the users are unable to write.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to write to my usb flash drive. schneidz Fedora 4 10-13-2008 09:30 PM
Unable to mount USB HDD as normal user brisbin33 Arch 3 07-25-2008 06:10 AM
Mounting a hard drive so that a normal user get write access raghesh Linux - General 4 08-24-2007 12:26 AM
Unable to mount AND write to USB jump drive TimmerKahuna Linux - Hardware 5 08-13-2006 01:31 PM
Unable to write to external USB drive m_lp_ql_m Linux - Newbie 2 08-29-2005 03:21 PM

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

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