AppArmor for Fedora

Marc Wilson msw at cox.net
Tue Aug 28 02:23:01 UTC 2007


On Mon, Aug 27, 2007 at 08:17:35PM -0400, Todd Zullinger wrote:
> Okay, then without any .vimrc in place, the contexts remained the
> same.  So I'm wondering where the problem is?  It seems to work just
> fine.

I'm not sure I'd call it a "problem".  It's just something to be aware of.
Any editor will potentially have the same problem.

For vim, it primarily depends on the settings of the 'backup' and
'backupcopy' options.  If you're not allowing vim to make backups *at all*,
of course, then it's never an issue.

It looks like Fedora's vim defaults to 'nobackup'.  My ~/.vimrc sets:

set bdir=~/.vim/backups     " save all backups in a specific place
set dir=~/.vim/backups      " ditto for the swap files
set backup                  " keep a backup file (please!)
set backupcopy=auto         " to work around stupidity in Debian's global vimrc

I *always* make backups.  Learned that long ago. :)

-- 
 Marc Wilson |     The important thing is not to stop questioning.
 msw at cox.net |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070827/e99b8e80/attachment-0001.sig>


More information about the fedora-list mailing list