Twice recently I've noticed that my vim settings have changed to defaults. Investigation shows that all files have been deleted from my /root/ directory. (Yes I currently log in as root, that's a different conversation...)
Can anyone suggest why this would be happening? The first time I assumed I'd accidentally repeated a recent command from my bash history as I had done an rm -f
in a different folder shortly before hand, but on this occasion I've not rm
'd anything for days and after a yum update (which included a new kernel) and a reboot the files have gone again...?
Folders don't get deleted from /root/, just files.
Any ideas?
Many thanks.