LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Accessing FAT partitions? (https://www.linuxquestions.org/questions/slackware-14/accessing-fat-partitions-116724/)

fusion1911 11-16-2003 12:57 PM

Accessing FAT partitions?
 
Hey guys hope someone can help me out as i have been hitting my head again a brick wall for a couple of days now. What i want to do is allow a standard user to access files on my FAT32 partitions (which at the moment they can't, keep getting access denied). At first i was chmod and even chown but as i researched some more i read that you must use umask to set rights etc. Well i tried what some site said to do but it was still the same - the standard user can access the FAT32 partitions but can't access the files and folders contained there.
If anyhow can help out it'd be magic as i am so frustrated at the moment.

trace1918 11-16-2003 01:14 PM

this is what i have done. put umask=000 after default like this
default,umask=000
put this in the /etc/fstab (u have to be root) at the row of the partition u would like to be able to mount as a regular user

restart and it should work

spurious 11-16-2003 01:14 PM

Assuming that your FAT32 partition is hda1, then edit your /etc/fstab as follows:

/dev/hda1 /mnt/fat32-c vfat defaults,umask=000 0 2

fusion1911 11-16-2003 01:22 PM

hmm still cannot get it to work and i tried 3 different ways ... here they are

/dev/hda1 /fat-c vfat defaults,umask=000 1 0
/dev/hda5 /fat-d vfat defaults,umask=000 0 2
/dev/hda6 /fat-e vfat defaults,umask=000 0 2 1 0

that is part of the fstab, but after i save and try to access i still get access denied ... do i need to reboot or something? and which one of the above is the correct format?
cheers guys

Kjetil4455 11-16-2003 01:26 PM

mate, you need to be root ;)

fusion1911 11-16-2003 01:27 PM

yeah i am root when i edit the fstab :)

trace1918 11-16-2003 01:33 PM

yeah u have to reboot

Misel 11-16-2003 01:33 PM

If the partitions are already mounted and you change something in the fstab you have to remount them with e.g.

mount -r /fat-c

fusion1911 11-16-2003 01:46 PM

thanks a lot guys .. its all up and running .. cheers all :):)


All times are GMT -5. The time now is 12:38 PM.