LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Accessing mounted fat32 partitions as user (https://www.linuxquestions.org/questions/linux-newbie-8/accessing-mounted-fat32-partitions-as-user-145714/)

linuxgamer09483 02-13-2004 01:21 PM

Accessing mounted fat32 partitions as user
 
HI. I am having trouble accessing my mounted fat32 partition on my user account, although it is fine with root.
Although ls -l shows 'rwxr--r--' I cant even ls the directories inside the main mount point without getting "permission denied" :scratch:
Am I missing something??
Help?:confused:
Thanks!

linuxgamer09483 02-13-2004 02:52 PM

Im running slackware-current. the drive is mounted as vfat...

guygriffiths 02-13-2004 03:48 PM

A line like this in /etc/fstab should do you nicely. It allows any user read and write access to the partition:
Code:

/dev/hdb1    /mnt/music  vfat    umask=000,rw    0    0
Obviously replace /dev/hdb1 with your hard drive device and /mnt/music with your mount directory.
Hope this helps
Guy

linuxgamer09483 02-13-2004 05:43 PM

Thank you!!!
I had tried putting "umask 007 /FATF" in rc.local, but it did not occur to me to put it in /etc/fstab.
Thanks!


All times are GMT -5. The time now is 06:05 AM.