Thomas Wiedmann
2007-08-29 19:17:51 UTC
Hello,
recently, when I intended to edit a text file with vim 6.1, I've got the
message
"W10: Warning: Changing a readonly file".
However the file had the privileges rwxrwxrwx.
1. How or why can a file be readonly - in spite of these priviledges; how
can a file be identified as readonly?
2. How can a readonly file be made writable a) in/with vim (or at least
changes in a readonly file be saved nevertheless) b) without vim, i. e.
by a system command?
3. How can such a warn message be removed again?
Thanks for all good hints.
Thomas Wiedmann
recently, when I intended to edit a text file with vim 6.1, I've got the
message
"W10: Warning: Changing a readonly file".
However the file had the privileges rwxrwxrwx.
1. How or why can a file be readonly - in spite of these priviledges; how
can a file be identified as readonly?
2. How can a readonly file be made writable a) in/with vim (or at least
changes in a readonly file be saved nevertheless) b) without vim, i. e.
by a system command?
3. How can such a warn message be removed again?
Thanks for all good hints.
Thomas Wiedmann