It appears that recursively chowning the drive helps. :)<br><br><div class="gmail_quote">On Mon, Jul 19, 2010 at 2:46 PM, J. D. <span dir="ltr"><<a href="mailto:jdonline@gmail.com">jdonline@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hey James,<br><br>What is strange is that when I add in the uid and gid as you have illustrated I get a mount error.<br>
<br>fstab:<br>LABEL=firelite /media/firelite auto rw,exec,user,uid=1000,gid=1000 0 0<br>
<br>Here is the error:<br>[14:44:08 myuser@megaton$] mount firelite<br>mount: wrong fs type, bad option, bad superblock on /dev/sdb1,<br> missing codepage or helper program, or other error<br> In some cases useful info is found in syslog - try<br>
dmesg | tail or so<br>[/media]<br>[14:44:37 myuser@megaton$32]<br><br>Here is what I found in dmesg:<br>[12300.997351] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended<br>[12300.997990] EXT3 FS on sdb1, internal journal<br>
[12300.998000] EXT3-fs: mounted filesystem with ordered data mode.<br>[13240.544367] EXT3-fs: Unrecognized mount option "uid=1000" or missing value<br>[13291.153157] CE: hpet increasing min_delta_ns to 15000 nsec<br>
<br><br>It is as if uid=1000 is not a valid option for an ext3 filesystem.<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Mon, Jul 19, 2010 at 1:53 PM, James Sumners <span dir="ltr"><<a href="mailto:james.sumners@gmail.com" target="_blank">james.sumners@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">LABEL=firelite /media/firelite auto rw,user,exec,uid=123,gid=123<br>
0 0<br>
<br>
Change "123" to your actual user id and group id. They could be<br>
different from each other. They are usually equal on Debian.<br>
<div><div></div><div><br>
On Mon, Jul 19, 2010 at 1:38 PM, J. D. <<a href="mailto:jdonline@gmail.com" target="_blank">jdonline@gmail.com</a>> wrote:<br>
> Hey all,<br>
><br>
> I have a little issue that seems simple but after some googling it continues<br>
> to persist. I am trying to mount an external USB hard disk as my own user<br>
> account and with my ownership.<br>
> Here is my fstab entry:<br>
><br>
> LABEL=firelite /media/firelite auto rw,user,exec 0 0<br>
><br>
> Now I can mount it as my regular user but root owns it!<br>
><br>
> [13:32:56 myuser@megaton$] mount -L firelite<br>
> [/media]<br>
> [13:33:09 myuser@megaton$] ls -al<br>
> total 20<br>
> drwxr-xr-x 5 root root 4096 2010-07-19 11:53 .<br>
> drwxr-xr-x 24 root root 4096 2010-07-01 11:47 ..<br>
> lrwxrwxrwx 1 root root 6 2010-03-10 14:04 cdrom -> cdrom0<br>
> drwxr-xr-x 2 root root 4096 2010-03-10 14:04 cdrom0<br>
> lrwxrwxrwx 1 root root 45 2010-03-10 14:04 .directory -><br>
> /etc/kubuntu-default-settings/directory-media<br>
> drwxr-xr-x 3 root root 4096 2010-07-19 09:17 firelite<br>
> -rw-r--r-- 1 root root 0 2010-07-19 10:32 .hal-mtab<br>
> lrwxrwxrwx 1 root root 42 2010-03-10 14:04 .hidden -><br>
> /etc/kubuntu-default-settings/hidden-media<br>
> [/media]<br>
> [13:33:15 myuser@megaton$]<br>
><br>
> Any idea how I can mount the drive with myser:myuser as the owner?<br>
><br>
> Best regards,<br>
><br>
> J. D.<br>
><br>
</div></div>> _______________________________________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
James Sumners<br>
<a href="http://james.roomfullofmirrors.com/" target="_blank">http://james.roomfullofmirrors.com/</a><br>
<br>
"All governments suffer a recurring problem: Power attracts<br>
pathological personalities. It is not that power corrupts but that it<br>
is magnetic to the corruptible. Such people have a tendency to become<br>
drunk on violence, a condition to which they are quickly addicted."<br>
<br>
Missionaria Protectiva, Text QIV (decto)<br>
CH:D 59<br>
<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div><br>
</div></div></blockquote></div><br>