Stop Microsoft
Miscellaneous => Technical Support => Topic started by: Annorax on 25 March 2006, 18:12
-
I'm trying to set up Debian to allow read and write access to both my vfat partitions so that I can share certain data files between my Windows 98 and Debian setups. For some reason, Debian restricts non-root users to read-only access on the vfat partitions. Nothing I've found so far can fix this little problem. What could be causing it, and how can I fix it?
# /etc/fstab: static file system information.
#
#
proc /proc proc defaults 0 0
/dev/hda6 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/hdd /media/cdrom1 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hda7 /media/shared vfat defaults,auto 0 0
/dev/hda1 /media/windows vfat defaults,auto 0 0
-
I don't know but here's mine from my Ubuntu install:
# /etc/fstab: static file system information.
#
#
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hda4 /mnt/windows ntfs gid=100,umask=002,noexec,nosuid 0 0
/dev/hda3 /mnt/dos vfat gid=100,umask=002,noexec,nosuid 0 0
-
That didn't work. :(
-
Just an idea but have you tried changing the permissions on the /media/windows directory?
-
FAT32 has no permissions so chmod and chown do nothing, just add the following to the mount options section of each FAT32:
,uid=your_user_id,gid=your_group_id
-
The /media/windows he's mounting it to on his UNIX drive does though.
-
The /media/windows he's mounting it to on his UNIX drive does though.
But chmod/chown wont give him write access :)
-
Change defaults,auto to rw,umask=0. Then remount the fat partition.
-
Change defaults,auto to rw,umask=0. Then remount the fat partition.
This worked. Thanks.