> I guess Andrew is asking how to have the windows partition not owned
> by root and therefor mountable and writeable maybe by an ordinary user.
>
> We don't know what version of linux you are using. However, in RedHat5.2
> for instance you can achieve this by using the option "user" in /etc/fstab.
> In later linuces, this becomes "owner" instead, which works in RH6.1.
> A line like the second line here below will do it (a file called /etc/fstab2
> is simply ignored - for a recent linux, use owner instead of user):
>
> ....
> /dev/hda1 /dos msdos defaults,rw,user 0 0
> ....
>
> The directory and its contents are owned by the user who mounts it,
> and they can write to it provided it is mounted rw, the default.
> This is the mechanism used for users to mount floppy drives and cdroms
> and zips too. Beware though - it means *any* user can mount and maybe
> change or delete your windows partition.
You can be a bit less elegant, but safer, by specifying options more
closely. On my RedHat 5.2 box, I have the line:
/dev/hda1 /msdos vfat uid=500,gid=500,auto,rw,suid,dev,exec,async 0 0
for my Windows 95 partition. This means that it will be mounted with
user id 500 (thats me), and group id 500 (again, me), which gets round
*any* user mounting it and being able to write to it... I can't
remember the details of the other options - read the manual pages.
Cheers
Colin
----------------------------------------------------------------------
Colin Brough [EMAIL PROTECTED]