new partition is read only why?????

Asked by yairsuari

i had an unused sction in my hard drive. i created a new partition on it, formated it (ext 3) mounted it (to /doc)
but now i can only write to it as su (even if i did su 755 on the device and the mount point)
any ideas??
some outputs:
fdisk -l
Disk /dev/sda: 26.8 GB, 26843545600 bytes
255 heads, 63 sectors/track, 3263 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 993 7976241 83 Linux
/dev/sda2 994 1044 409657+ 5 Extended
/dev/sda3 1045 3263 17824117+ b W95 FAT32
/dev/sda5 994 1044 409626 82 Linux swap / Solaris

fstab:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=1c3d8c36-df3d-4ed7-9c9f-07d40edb8baa / ext3 defaults,errors=remount-ro 0 1
# /dev/sda5
UUID=0041004d-57d9-4a34-a030-a69934fc30ad none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/sda3 /doc ext3 defaults 0 2

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
yairsuari
Solved:
Last query:
Last reply:
Revision history for this message
yairsuari (yairsuari) said :
#1

should be (even if i did su chmod 755 on the device and the mount point)

Revision history for this message
Connor Imes (ckimes) said :
#2

fdisk -l is showing that sda3 is formatted a FAT32 (vfat). I suggest using GParted to reformat the partition so that it is ext3, then you should have no problems. You can change your fstab to be vfat and then set the appropriate mount options on it, but ext3 is much easier to deal with since it has the type of permissions associated with it that linux likes.
GParted is on the LiveCD, but can be installed to your regular system by running
sudo apt-get install gparted
It can be accessed from System->Administration->Partition Editor

Revision history for this message
Old_Soldier (charles.davis) said :
#3

 the fstab options users,noauto,rw will allow you to read and write to the partition

Revision history for this message
yairsuari (yairsuari) said :
#4

so this is the end of the story:
when i tried to restart my system it wouldnt go up so i had to reinstall
thanks for everyones help