[ale] kubuntu 10.04 LTS mount external drive as user
James Sumners
james.sumners at gmail.com
Mon Jul 19 13:53:44 EDT 2010
LABEL=firelite /media/firelite auto rw,user,exec,uid=123,gid=123
0 0
Change "123" to your actual user id and group id. They could be
different from each other. They are usually equal on Debian.
On Mon, Jul 19, 2010 at 1:38 PM, J. D. <jdonline at gmail.com> wrote:
> Hey all,
>
> I have a little issue that seems simple but after some googling it continues
> to persist. I am trying to mount an external USB hard disk as my own user
> account and with my ownership.
> Here is my fstab entry:
>
> LABEL=firelite /media/firelite auto rw,user,exec 0 0
>
> Now I can mount it as my regular user but root owns it!
>
> [13:32:56 myuser at megaton$] mount -L firelite
> [/media]
> [13:33:09 myuser at megaton$] ls -al
> total 20
> drwxr-xr-x 5 root root 4096 2010-07-19 11:53 .
> drwxr-xr-x 24 root root 4096 2010-07-01 11:47 ..
> lrwxrwxrwx 1 root root 6 2010-03-10 14:04 cdrom -> cdrom0
> drwxr-xr-x 2 root root 4096 2010-03-10 14:04 cdrom0
> lrwxrwxrwx 1 root root 45 2010-03-10 14:04 .directory ->
> /etc/kubuntu-default-settings/directory-media
> drwxr-xr-x 3 root root 4096 2010-07-19 09:17 firelite
> -rw-r--r-- 1 root root 0 2010-07-19 10:32 .hal-mtab
> lrwxrwxrwx 1 root root 42 2010-03-10 14:04 .hidden ->
> /etc/kubuntu-default-settings/hidden-media
> [/media]
> [13:33:15 myuser at megaton$]
>
> Any idea how I can mount the drive with myser:myuser as the owner?
>
> Best regards,
>
> J. D.
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
--
James Sumners
http://james.roomfullofmirrors.com/
"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."
Missionaria Protectiva, Text QIV (decto)
CH:D 59
More information about the Ale
mailing list