Setting permissions on automatically mounted FAT partition
I'm runnng a laptop dualbooted between Windows XP (on NTFS) and Ubuntu 9.x on its own partition. If it matters, it's a Compaq Presario, about 4 years old, with 768 MB RAM.
I have a third partition formatted FAT that I would like to have automatically mounted when I boot to Linux, with write permission for all users. In fstab, I have the line
/dev/sda5 /media/disk-4 vfat auto,users,rw,gid=100 0 0
(I've tried many other incantations of this line.)
The problem is that the permissions never let me write to the partition.
drwxr-xr-x 18 root root 32768 1969-12-31 19:00 disk-4
I've been asking over at the Straight Dope (http:/ /boards.straightdope.com/sdmb/showthread.php?t=534507 but link broken because I'm not trusted to post a link yet), with lot's of suggestions there, but no solution yet.
In short, I want a FAT partition automatically mounted, and accessible for read and write by regular users. Either owned by each owner (me or my wife) when they log in, or owned by root, but with read/write permissions for group.