Vim-7 Preview

Dax Kelson dax at gurulabs.com
Fri Mar 17 14:39:36 UTC 2006


...... Original Message .......
On Fri, 17 Mar 2006 08:14:14 -0500 "Daniel Veillard" <veillard at redhat.com> 
wrote:
>that I don't understand, why should vim deal with ACL or SELinux ???
>

This feature was first introduced with the vim shipped with Red Hat Linux 9.

When you edit a file and save, behind the scenes, vim creates a new file 
and once that operation has completed it replaces the original with the new 
file. This is safer then doing a truncate and write to the original file as 
you will lose data if there is a crash after the truncate but before the 
write.

The safer technique requires extra work on vim's part to preserve metadata .

For file ACLs vim uses libacl. 
___
Dax Kelson
Sent with my Treo




More information about the devel mailing list