From d58e929fa283459957b0eab635fdaa9dcd61819c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 9 Feb 2011 17:07:58 +0100 Subject: Updated runtime files and translations. --- runtime/doc/editing.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'runtime/doc/editing.txt') diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index b03487d62..26f712f18 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1,4 +1,4 @@ -*editing.txt* For Vim version 7.3. Last change: 2010 Dec 08 +*editing.txt* For Vim version 7.3. Last change: 2011 Jan 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -984,6 +984,11 @@ explanation of when the copy is made and when the file is renamed. If the creation of a backup file fails, the write is not done. If you want to write anyway add a '!' to the command. + *write-permissions* +When writing a new file the permissions are read-write. For unix the mask is +0666 with additionally umask applied. When writing a file that was read Vim +will preserve the permissions, but clear the s-bit. + *write-readonly* When the 'cpoptions' option contains 'W', Vim will refuse to overwrite a readonly file. When 'W' is not present, ":w!" will overwrite a readonly file, -- cgit v1.2.1