I have a USB FAT32 drive that is on /dev/sda2. I've mounted it as /media/bigdrive however, I get permission denied whenever I try to touch a file there as a non root user.
When I run mount I can see this line:
/dev/sda2 on /media/bigdrive type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=ascii,shortname=mixed,errors=remount-ro)
My /etc/fstab has this line:
/dev/sda2 /media/bigdrive vfat rw,user,exec,umask=000 0 0
I've tried running sudo chmod 777 /media/bigdrive and sudo chmod 777 -R /media/bigdrive
Neither one changes anything.
Is there anything I'm missing?
This is on a rasberry pi running raspbian BTW.
ls -ld /media/bigdrive? – ckhan Sep 7 '12 at 7:17uidand/orgidvalues, e.g. appenduid=YOUR_ID(findYOUR_IDwithid) to the options infstab. A better choice would be to makeudevhandle this or at least refer to the partition by its UUID name (seels -l /dev/disk/by-uuid) and instead of/dev/sda2useUUID=...infstab. – Thor Sep 7 '12 at 9:08mount /dev/sda2or something else? – Gilles Sep 7 '12 at 23:16