You asked to save to a file that is read-only. Read-only files are shown in the Project Explorer as . You can't save to read-only files. Use Save As instead.