[Novalug] mounting usb drives as non-root accounts

Peter Larsen plarsen at famlarsen.homelinux.com
Wed Nov 25 15:41:52 EST 2009


On Wed, 2009-11-25 at 20:48 +0100, Miguel González Castaños wrote:

> Dear all,
> 
>   In my company we have RHEL 4.x and 5.x machines as desktops for users. 
> When our users plug in any USB drive (pendrive, hard drive) is mounted 
> as root and not as the user that is logged on. We normally set up in 
> fstab or scripts to change the permissions but the ideal would be that 
> _ANY_ device is mounted correctly (and the device /dev/XXX name can 
> change depending on the kind of drive). Some people comment in some 
> forums that using a general UID would work out, but I haven't found any 
> documentation giving examples and see if that works for any device.
> 
>   The ideal would be something that we can deploy in every machine 
> regardless of the USB drives that are mounted and the device name. Is 
> that possible?



fuse - userspace mounts seems to be directed at what you need. That's
how the gnome mount works.

http://fuse.sourceforge.net/


-- 

Best Regards
  Peter Larsen

Wise words of the day:
* JHM wonders what Joey did to earn "I'd just like to say, for the record,
  that Joey rules."
	-- Seen on #Debian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://calypso.tux.org/pipermail/novalug/attachments/20091125/a4bcf7da/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
Url : http://calypso.tux.org/pipermail/novalug/attachments/20091125/a4bcf7da/attachment.bin 


More information about the Novalug mailing list