[Novalug] mounting usb drives as non-root accounts
Eric Dantan Rzewnicki
eric at zhevny.com
Wed Nov 25 15:04:11 EST 2009
On Wed, Nov 25, 2009 at 08:48:59PM +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?
Don't know if it's exactly what you need, but I like to use
pmount/pumount for my usb sticks.
More information about the Novalug