LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cannot access FAT32 partition (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-access-fat32-partition-226496/)

pafrica 09-04-2004 06:12 AM

cannot access FAT32 partition
 
hi everyone,

i have a VFAT partition mounted on /fat-d at start-up. the problem is, i cant cd into /fat-d as a regular user unless i unmount it first then mount it again. so far, i have tried messing with the options in fstab, and i also tried changing directory permissions for /fat-d (the permissions always go back to 744 when i reboot).

this is what is in my fstab:
Code:

/dev/hda3        swap            swap        defaults        0  0
/dev/hda4        /                ext2        defaults        1  1
/dev/hda1        /fat-c          vfat        defaults,users  1  0
/dev/hda5        /fat-d          vfat        defaults,users,dmask=000,fmask=033  1  0
/dev/cdrom      /mnt/cdrom      iso9660    noauto,users,ro  0  0
/dev/fd0        /mnt/floppy      auto        noauto,users    0  0
devpts          /dev/pts        devpts      gid=5,mode=620  0  0
proc            /proc            proc        defaults        0  0

I dont know what else i can do.

Baldrick65 09-04-2004 06:26 AM

This is my entry in /etc/fstab
Code:

/dev/hda6 /mnt/windata vfat iocharset=iso8859-15,rw,umask=0 0 0
See if something like this helps.

Baldrick

mungulish 09-04-2004 06:34 AM

I would use umask instead of fmask and dmask, that should do the trick, but if it still doesn't work, try removing the default option and inserting what you need only. Search in the man pages for mount.

man mount

pafrica 09-04-2004 03:43 PM

i used the umask and iocharset options. it works like a charm now.
thank you both very much :)


All times are GMT -5. The time now is 12:16 AM.