Ticket 2081

Nicer error message when writing to read only cap.