If a file is set to read only mode, how do I change it to write mode and vice versa from within Emacs?
What I found is M-x set-file-modes filename mode
M-x set-file-modes filename mode
It worked at my Windows Vista box. For example: M-x set-file-modes ReadOnlyFile.txt 0666
M-x set-file-modes ReadOnlyFile.txt 0666