IM-06: read and write permission on Windows partition
As you probably know, there are two filesystems commonly used on Windows: Fat32 and NTFS. The first part of this FAQ covers Fat32 problems only. See the second part for information on NTFS support.
I use VI to edit files via the command lines. HERE is what you have to know about VI.
Open a console, login as root and edit /etc/fstab. Look at the line where your Windows filesystem is. That should be something like this
CODE
/dev/hda5 /mnt/win_c vfat defaults 0 0
Now modify the above line so that it look like this one (ie, add umask=0,quiet after defaults)
CODE
/dev/hda5 /mnt/win_c vfat defaults,umask=0,quiet 0 0
Now save and quit the file. Finally, remount (umount and mount the partition) by typing
CODE
umount /mnt/win_c
mount /mnt/win_c
mount /mnt/win_c
If you get umount: /mnt/win_c: device is busy, check at XMMS or Konqueror. Something is within /mnt/win_c and prevents you to umount the partition[1]. If that worked, you should now have read and write access by all users.
Note that you can organise your /etc/fstab file so that it look like THIS one (user Cannonfodder). You can put spaces between each line. The ONLY thing that matters is the order of things within one line. The order is
# <fs> <mountpoint> <type> <opts> <dump> <fsck>
Look at 'man mount' and 'man fstab' for further details about that.
Reference:
man mount
man fstab
[1] More info about solving that particular problem at: 'IM-07: Umount says "device is busy"'