Can root mount a partition and allow users to write to it?

charles chris cccharlz-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Thu May 17 11:01:43 UTC 2012


auto mounting woks best.  Manual mouting has caused boot failure.

On Thu, May 17, 2012 at 4:03 AM, Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org> wrote:

>  I've managed to get automount under mdev sort of working, but it's not
> quite ready for primetime yet.  E.g. when I insert a USB stick, a
> hotplug event triggers a script, which creates a new device (/dev/sdb1,
> etc). I've modified the script to also mount the new device when it's
> created.  So far so good.  Unfortunately, since it's mounted by root, my
> regular user account can't write to it... oops.
>
>  I also need to unmount it as aregular user, before yanking it out.  An
> idea might be a script with sudoers access that lets me unmount anything
> on the /media directory.  Manual mounting/unmounting on fstab-listed
> devices works as per normal, but some people prefer automounting.  Any
> ideas on mounting?
>
> --
> Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>
> --
> The Toronto Linux Users Group.      Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
>



-- 
http://drpcdr.ca
http://jobcircle.ca
416 398 3772 OR 647 453 3327
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20120517/204631d9/attachment.html>


More information about the Legacy mailing list