On Mi, 01 Nov 2017, Ken Takata wrote: > This makes Vim to respect umask when creating a swapfile. > (I'm not sure this is actually needed, though.)
I am also not sure if this is needed. However it makes sense to have the swap file with the same permissions of the original file. Think of a crash of an editing session of a file that has o+rw set. In that case and with a restrictive umask of 0077 only the author could restore it, while currently everybody who is allowed to edit that file can also recover it. Christian -- Es kann so schön sein, alt zu werden, das Gefühl zu haben, das fast schon ein Glück ist, mehr von jenen Dingen zu wissen, an die man früher nicht einmal gedacht hat. Weil man angeblich keine Zeit hatte. -- Heinz Rühmann -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.