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. |
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 |
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 |
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 |
mate, you need to be root ;)
|
yeah i am root when i edit the fstab :)
|
yeah u have to reboot
|
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 |
thanks a lot guys .. its all up and running .. cheers all :):)
|
All times are GMT -5. The time now is 12:38 PM. |