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