Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Posts
    3

    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 went through 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

  2. #2
    Just Joined! nesca2in1's Avatar
    Join Date
    Aug 2008
    Location
    Silesia/Poland
    Posts
    16
    maybe create specjal user group for USB device? add user to thois group and add privilage for write/mount etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...