Greg Helledy on 17 Mar 2007 03:40:11 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] making windows FAT32 partition writable to all users


I run into this on every system and always forget the fix.
I have kanotix installed dual-boot with Win98.  In the default install,
users are unable to write to the windows partition.  Here is fstab.  The
windows partition is /dev/hda1.  <options> for /windows was formerly
"defaults", I changed it to "rw" and got nowhere:

 /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
usbfs           /proc/bus/usb   usbfs   devmode=0666    0       0
/dev/hda5       /               reiserfs defaults        0       1
/dev/hda1       /windows        vfat    rw              0       2
/dev/hda6       /home           reiserfs defaults        0       2
/dev/hda7       none            swap    sw              0       0
/dev/cdrom      /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdd        /media/cdrom0   udf,iso9660 user,noauto 0       0
/dev/dvdrw      /media/dvdrw0   udf,iso9660 user,noauto 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
/dev/hdb5       /media/oldroot  reiserfs noauto         0       0
/dev/hdb6       /media/oldhome  reiserfs noauto         0       0
/dev/sda1       /media/usbkey   vfat    defaults,user,noauto    0       0

/windows is owned by root and its group is root.  I tried changing its
group to staff (like /home is) but that didn't work.  Here is the root
directory listing:
adler@itchy:/$ ll
total 56
drwxr-xr-x   2 root root   2624 Dec 21  2005 bin
drwxr-xr-x   3 root root    560 Jul 29  2006 boot
drwxr-xr-x  14 root root   3580 Feb 27 09:54 dev
drwxr-xr-x 147 root root   8328 Mar 16 23:29 etc
drwxrwsr-x   6 root staff   128 Aug  9  2006 home
drwxr-xr-x  17 root root   4752 Oct 22 02:05 lib
drwxr-xr-x  11 root root    272 Sep 21 09:27 media
drwxr-xr-x   3 root root     72 Jan 28 14:30 mnt
drwxr-xr-x   2 root root     48 Dec 18  2005 none
drwxr-xr-x   2 root root     48 Sep  8  2005 opt
dr-xr-xr-x  86 root root      0 Feb 25 11:51 proc
drwxr-xr-x  19 root root   1040 Mar 16 23:31 root
drwxr-xr-x   2 root root   7096 Sep 30 18:36 sbin
drwxr-xr-x  10 root root      0 Feb 25 11:51 sys
drwxrwxrwt  19 root root    688 Mar 16 23:37 tmp
drwxr-xr-x  16 root root    384 Aug 13  2006 usr
drwxr-xr-x  16 root root    384 Aug 15  2006 var
lrwxrwxrwx   1 root root     13 Jul 29  2006 vmlinuz -> /boot/vmlinuz
drwxr-xr-x  24 root root  32768 Dec 31  1969 windows
root@itchy:/# chgrp staff windows
chgrp: changing group of `windows': Operation not permitted

I know I'm doing something dumb but I'm not in IT and rarely do a new
install so I forget what I need to do here.
Any help appreciated.
Greg



-- 
Privileged/Confidential information may be contained in this message.
If you are not the addressee indicated in this message (or responsible
for delivery of the message to such person), you may not copy or deliver
this message to anyone. In such case, you should destroy this message
and notify GRA, Inc. (postmaster@gra-inc.com) immediately. Please advise
immediately if you or your employer do not consent to Internet e-mail
for messages of this kind. Opinions, conclusions and other information
expressed in this message are not given or endorsed by GRA, Inc. unless
otherwise indicated by an authorized representative independent of this
message.

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug