On Mon, 31 Jul 2000, the little plastic letters were pressed in this order:
>
> How do I set up /etc/fstab so that I can write to my windows drives when
> I'm a regular user?
> I have no trouble writing as root, but I can't as a regular user.
>
> Thanks,
>
> Lorne
>
To do that you need a line like this -
/dev/hda1 /mnt/win_c vfat noexec,nodev,nosuid,umask=000
replacing vfat with another appropriate option if your drive isn't FAT32
The umask option works exactly like the umask command for a linux filesystem.
This example sets permissions rw-rw-rw- for normal files, and rwxrwxrwx for
directories. Not the best for security in a multiuser system but if you're the
only one using the system it should be fine.
If you want something a little more secure maybe someone else can inform if
it's possible to change the group ownership of files on a windows drive to
something like `winfiles` so you can add your normal user account to this group
and change the umask to 007.