Daniel Grant wrote:
Hotplug (running as root) mounts my usb drive, so only
root can umount it.  Is there any way I can allow the
normal user to umount it?

I do have the "user" option in /etc/fstab, but that's only
useful if the  user mounted it in the first place.

Can you add the "users" option instead? It will allow any user to mount/umount the device.

That appears to be it. Your comment inspired me to read the man page more carefully:


user: The name of the mounting user is written to mtab so that he can unmount the file system again

users: Allow every user to mount and unmount the file system.

This is a subtlety that had previously eluded me.

Thanks,
Douglas.












======================================================================= This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission. =======================================================================



Reply via email to