Translations:Viewing and editing configuration files/12/en
An alternative, and arguably safer method, would be to save a copy of the file somewhere you can write and then use sudo to move it. For example, if you used nano to edit your fstab and then saved a copy to your home folder, you could then move it to the proper location with sudo:
sudo mv ~/fstab /etc/fstab