Sunday, 21 June 2009

a better way to mount usb drives.

Don't just sudo mount /dev/sdb /media/tmp

This mounts with root ownership. Rather,

sudo mount -o uid=username /dev/sdb /media/tmp

------------

Or in fstab:

/dev/sdb1 /home/me/mountpoint vfat gid=mylogin,dmask=007,fmask=117,rw 0 3

-----------

No comments:

Post a Comment