Mandrake is gnome right? I've seen similar but do not know how to correct.
for editing ro files, do you have permissions? why is it readonly? why not chmod it? If you have root and are using vi(m) you can use :wq! which forces write even when file permissions are 555 etc
cheers