I face with that error message on AIX 7.1 which is hosting our Oracle 18c database.

While i try to open any documents by using vi editor, it gives below error but the actual operation is not affected

$ vi initprod.ora
History file has no read permission. [Hit return to continue]

So here is the solution:
The issue is that the .vi_history file found in the users home directory has the wrong owner and or group.
Currently there is .vi_history in the non-root user’s directory. Delete it to solve it.