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



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

Paul

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Greetings / Newbie questions
    ... I am having a bit of trouble deciding which to use: Gnome or KDE. ... - Running Totem as Root (I've found that lots of things need to be done ... I have Installed Unreal Tournament 2004 for Linux. ... these current versions to be excellent in terms of ease of installation and ...
    (alt.os.linux.redhat)
  • Re: [kde] Cannot add Brother printer
    ... It would appear that the default config for cups is to use the root login. ... KDE also provides a user the opportunity to run any program as ... GUI apps have a very big advantage in that respect and one can ... mistakes as things are easily corrected from the shell. ...
    (KDE)
  • Re: Greetings / Newbie questions
    ... Please, don't jump on the "Linux is the be-all, end-all OS and is ... I am having a bit of trouble deciding which to use: Gnome or KDE. ... >I have found that alot of things need to be done as root. ...
    (alt.os.linux.redhat)
  • Re: [kde-linux] KDE 4. Trying to get it working like I need it to.
    ... I have both KDE 3.5 and KDE 4 installed. ... I have to be root to do this. ... Akonadi Server Self-Test Report ... config that deliberately does NOT install a working backend. ...
    (KDE)
  • Re: Greetings / Newbie questions
    ... I did a full install so don't think I am missing nay packages. ... I am having a bit of trouble deciding which to use: Gnome or KDE. ... > I have found that alot of things need to be done as root. ...
    (alt.os.linux.redhat)