setting permissions for a mounted fat32 partition
Posted on 2006-03-30
I have a dual boot system (SUSE 10 / WIN XP). My hard disk has a shared fat32 partition. My problem is, the fat partition is mounted in SUSE under /windows/d but I can't seem to write to it unless I am operating as root.
I first tried changing my fstab file to include this line:
/dev/hda5 /windows/d vfat users,owner,rw,umask=000 0 0
That didn't work.
Then I got very confused when I found there was also a file called mtab which had an entry for windows/d, so I changed that line to be exactly the same as the one in fstab. Why is there an fstab and an mtab? What's the difference? Which one is used? Which takes precedence?
Then I opened a terminal, changed to su and used chmod thus:
chmod /windows/d 777 -Rv
The command executed without error and said it changed the permissions, however I still could not write to the fat partition unless logged in as root.
I checked the permissions on windows/d in Konqueror, and they had not been changed - only root had full access. So I opened Konqueror as root and changed to permissions to give full access to everyone, applied to all subdirectories and files. Konqueror accepted this command, appeared to apply the permissions, but as soon as I closed the 'properties' window and opened it again the changes were lost - once again only root has full access.
All I want is to have write access to my fat32 permission when not logged in as root. Any ideas? Or should I just give up on linux and go back to windows?