Re: How to mount and umount a USB pen drive without being root?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2006-11-06 at 00:58 +0000, Paul Smith wrote:
> On 11/6/06, Paul Smith <phhs80@xxxxxxxxx> wrote:
> > > > > > How to mount and umount a USB pen drive without being root?
> > > > > ----
> > > > > which sort of explains...
> > > > > - why 'safely remove' didn't work for you (because it is in user space)
> > > > > - why copying didn't work (probably because you were mounting as root
> > > > > and copying as user)
> > > >
> > > > Thanks, Craig. I do not know what KDE does internally. If one could
> > > > manually mount pen drives as mere users (and not only as root), then
> > > > one would escape from the KDE bug... :-)
> > > ----
> > > mount should occur automatically as user - at least it has in FC-3, FC-4
> > > and FC-5 and I assume FC-6 but I haven't tested FC-6 yet.
> > >
> > > As I suggested in another e-mail on this thread, IF you are logged in as
> > > user and you insert USB Key/pen whatever you want to call it...it should
> > > be automatically mounted as the logged in user in /media/usb-disk or
> > > something very similar in /media
> > >
> > > This of course assumes that you haven't mucked with /etc/fstab or udev
> >
> > It happens as you describe. However, there is no way of safely
> > removing the media but removing it as root.
> 
> Yes, it is possible to mount and unmount a usb pen drive:
> 
> 1. create the directory /media/mydisk
> 
> 2. add the following line to /etc/fstab:
> 
> /dev/sdaX /media/mydisk vfat noauto,user 0 0
----
I've stated twice now, UNLESS you muck with /etc/fstab

since you mucked with /etc/fstab, you have altered normal behavior.
Device permissions are part of udev. The issue is you can't ask why
don't things work as intended when you configure as they weren't
intended to be configured.

Since you put entry into fstab as above, user can mount/umount from
command line but user space tools intended to use udev for
mounting/umounting aren't going to work as expected.

Craig


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux