You may not change a file, if the whole filesystem is in READ-ONLY-mode.

As root:
remount -rw /dev/hda1