Mounting Fat32

Alan McKinnon alan at linuxholdings.co.za
Sun Apr 16 20:31:36 UTC 2006


On Sunday 16 April 2006 07:51, Avraham Hanadari wrote:
> xenmax wrote:
> > For your FAT32 partitions, follow instructions in this thread:
> > http://www.ubuntuforums.org/showthread.php?t=144321
>
> Upon restarting the computer after the earlier change to
> rw,defaults, and discovering that I still did not have ownership of
> the partitions, I made the changes suggested in the forum. fstab
> now looks like this:
>
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point>   <type>  <options>       <dump> 
> <pass> proc            /proc           proc    defaults        0   
>    0 /dev/hda3       /               ext3   
> defaults,errors=remount-ro 0       1 /dev/hda7       none          
>  swap    sw              0       0 /dev/hdd        /media/cdrom0  
> udf,iso9660 user,noauto     0       0 /dev/fd0       
> /media/floppy0  auto    rw,user,noauto  0       0
> /dev/hda6	/media/office	vfat	iocharset=utf8,umask=0000		0	0
> /dev/hda5	/media/storage	vfat	iocharset=utf8,umask=0000		0	0
>
> I then ran sudo mount -a. No change. I then rebooted the computer.
> No change. I then notes that farther below in the forum, three
> naughts/zeros were used. I made that change as well. Still no
> change. I am still not the "owner" of the two vfat partitions. I
> still cannot edit OpenOffice files that are stored there.

You don't *need* to be the owner of the directory containing the 
partition, or even a member of the group that owns it. You only need 
to have access rights, so if "other" users have write permission you 
will be ok.

Your mistake is probably removing the rw option. Put it back.

What happens is that when "ro" is set, the kernel throws write 
requests away, regardless of what the permissions might say.

Just in case, when the vfat partitions are mounted, what is the output 
of 'ls -al /media'?

-- 
If only you and dead people understand hex, 
how many people understand hex?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five




More information about the ubuntu-users mailing list