Bounty: 50
I’m having a problem when writing to a file created by another user. When I try to do :w
I get the error message E506: Can't write to backup file (add ! to override)
and when I do :w!
the file get’s written but I still see this:
/share/home/file.txt" 161L, 9896C written
E207: Can't delete backup file
:se backup?
returns nobackup
. The privileges of thefile are -rwxrwxrwx
This happens in neovim NVIM v0.5.0-445-gca02db1f9
. If I try it with an older nvim like NVIM v0.2.2
it writes without any error just using :w
.
Edit: more settings:
backupcopy=auto
backupdir=.,~/.local/share/nvim/backup
set writebackup?
seems empty