trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: March 2011

Re: [trinity-users] mount usb with the wrong user

From: Kristopher Gamrat <pikidalto@...>
Date: Thu, 3 Mar 2011 12:33:27 -0500
On Thu, Mar 3, 2011 at 7:37 AM, Uwe Brauer <oub@...> wrote:
> Hello
>
> I installed trinity on a PC running Ubuntu Lucid (I did not
> do the original installation so I am not sure if something
> went wrong)
>
>
> However when I connect in kde3 an usb device with a linux
> partion 2 things happen
>
>    -  the kde daemon pops up twice instead of only once

I used to have this happen sometimes awhile back on Debian Etch.

>    -  the device is mounted but  the files belong to
>       another user of this PC. This is very annoying
>       because in order to copy I have to use sudo and then
>       later the chown chgrp command.
>
>
> I looked up the fstab file in /etc but there I can't see the
> source of the problem.

I had this happen late in 2007 on Ubuntu. Actually, it wouldn't mount
unless I was using sudo. I had to edit my fstab to point to my user's
UID (rw,sync,uid=XYZ), it didn't seem to work with the "users" option.
If you want to try this, you can get your UID by looking in
/etc/passwd (doesn't show your password, but shows the user name, UID,
and groups of every user). Then insert the drive, add "uid=XYZ"
(replacing XYZ with your UID) to it's fstab entry, then see if the KDE
dialog will mount it.

-- 
Kris
"Piki"
Ark Linux Webmaster
Trinity Desktop Environment Packager