[ale] kubuntu 10.04 LTS mount external drive as user
J. D.
jdonline at gmail.com
Mon Jul 19 14:46:16 EDT 2010
Hey James,
What is strange is that when I add in the uid and gid as you have
illustrated I get a mount error.
fstab:
LABEL=firelite /media/firelite auto rw,exec,user,uid=1000,gid=1000
0 0
Here is the error:
[14:44:08 myuser at megaton$] mount firelite
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
[/media]
[14:44:37 myuser at megaton$32]
Here is what I found in dmesg:
[12300.997351] EXT3-fs warning: maximal mount count reached, running e2fsck
is recommended
[12300.997990] EXT3 FS on sdb1, internal journal
[12300.998000] EXT3-fs: mounted filesystem with ordered data mode.
[13240.544367] EXT3-fs: Unrecognized mount option "uid=1000" or missing
value
[13291.153157] CE: hpet increasing min_delta_ns to 15000 nsec
It is as if uid=1000 is not a valid option for an ext3 filesystem.
On Mon, Jul 19, 2010 at 1:53 PM, James Sumners <james.sumners at gmail.com>wrote:
> 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
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20100719/8d0c6369/attachment.html
More information about the Ale
mailing list