"Unable to create new database connection file, permission is denied" error is coming while trying to add database connection in ArcCatalog.
sql 2014 & pg 9.5
It sounds like somehow, you don't have write permissions to the directory where the connection files are created.
You need to provide more details, such as..
Running ArcCatalog as an Administrator didn't help but Create Database connection partially resolved the issue.
Thanks for the help.
Retrieving data ...