PostgreSQL installation

Hello
I have installed PostgreSQL
I have used this instruction
postgreSQL
but something going wrong
when I tried to connect via psql console I got such picture
may somebody know how to solve it?

It clearly says that you don’t have permission on some folder.

I know this is an old question, but were you ever able to get it solved? How do you set the permissions? And did you try sudo?