Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#59892 - [vim] Update causes E510 (can't make backup file) due to bad permissions in ~/.cache/vim
Attached to Project:
Arch Linux
Opened by Aqua Soo (AquaSZS) - Friday, 31 August 2018, 14:17 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 17 September 2018, 15:12 GMT
Opened by Aqua Soo (AquaSZS) - Friday, 31 August 2018, 14:17 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 17 September 2018, 15:12 GMT
|
DetailsDescription:
Perhaps due to some change in /usr/share/vim/vimfiles/archlinux.vim , starting vim after update creates directories owned by root in ~/.cache/vim . This causes any file write attempts to throw an E510 error because vim cannot access ~/.cache/vim/backup . Additional info: vim provided by gvim Steps to reproduce: Update to vim to 8.1.0333 While this is easily fixed by wiping ~/.cache/vim as root, may cause some confusion after update. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Monday, 17 September 2018, 15:12 GMT
Reason for closing: Works for me
Monday, 17 September 2018, 15:12 GMT
Reason for closing: Works for me
Are you?
If so, then since vim will silent! call mkdir(expand(&g:directory), 'p', 0700) where &g:directory is $XDG_CACHE_HOME (falling back to $HOME/.cache as per the spec), why is that command being evaluated as root, using your own home directory?