Mercurial > vim
diff runtime/doc/editing.txt @ 2698:b6471224d2af
Updated runtime files and translations.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 09 Feb 2011 17:07:58 +0100 |
parents | 916c90b37ea9 |
children | 6f63330ec225 |
line wrap: on
line diff
--- 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 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,