Why I can't mount usb stick with my uid or gid?

Evan Teitelman teitelmanevan at gmail.com
Wed Nov 6 22:23:30 EST 2013


On Thu, Nov 07, 2013 at 10:52:29AM +0800, 乃宏周 wrote:
> I use ubuntu 12.04, and my usb stick had been found at /dev/sdb and has 2
> partitions.
> If I `mount /dev/sdb1 ~/work`, My usb stick can be mounted sucessfully, but
> ownership of ~/work is root, so I can't write anything to it.
> But if I `mount -o uid=1000,gid=1000 /dev/sdb1 ~/work`, system replies
> following error message:

What does `dmesg` say?

> 
> 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
> 
> Why this situation occurred? I'm sure that my pid and gid is 1000.
> Any ideas?

> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131106/684bfcab/attachment.bin 


More information about the Kernelnewbies mailing list