Your comments

TextMate does this.  It puts up a dialog that says "The file $FILENAME is read-only. Attempt to overwrite?" and gives you the options "Overwrite" and "Don't overwrite".  +1