[ale] kubuntu 10.04 LTS mount external drive as user

J. D. jdonline at gmail.com
Mon Jul 19 13:38:30 EDT 2010


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20100719/b09cdef2/attachment.html 


More information about the Ale mailing list