read and write permission for FAT32 partition in Ubuntu
        Posted  
        
            by Dean
        on Super User
        
        See other posts from Super User
        
            or by Dean
        
        
        
        Published on 2009-12-05T15:36:25Z
        Indexed on 
            2010/03/18
            23:01 UTC
        
        
        Read the original article
        Hit count: 780
        
This is a strange problem. I have the following partition table
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              13        5737    45978624    7  HPFS/NTFS
/dev/sda3            5738       10600    39062047+  83  Linux
/dev/sda4           10601       19457    71143852+   5  Extended
/dev/sda5           10601       11208     4883728+  82  Linux swap / Solaris
/dev/sda6           11209       15033    30720000    b  W95 FAT32
/dev/sda7           15033       19457    35537920    7  HPFS/NTFS
I dual boot Win7 (sda2) and Ubuntu (sda3) and wanted to use the FAT23 partition to share files across two OS's.
I followed some online tutorial and have done these:
sudo mkdir /media/FAT32
sudo chmod 777 /media/FAT32
sudo mount /dev/sda6/ /media/FAT32
after I mounted the file, I can only read but not be able to write to it.
I checked the file permission, it becomes:
drwxr-xr-x
but after I unmounted the it then becomes
drwxrwxrwx
and I can read and write to it.
very strange.
I don't know where I've down wrong.
Cheers.
© Super User or respective owner